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.