Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-63

Investigate removing the need for an on heap map to store keys/pointers.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      On performance testing and monitoring jvm heap allocation, it became clear that as the off heap elements increased so did the on heap used memory. This is because DirectMemory is storing keys and pointers in the heap meaning that the cache isn't fully off heap, and on heap memory will increase linearly with elements in the cache.

      An idea maybe is to look into using a key's hash for location on a separate single off heap buffer to store the main heaps pointers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            teaandcoffee Michael André Pearce
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: