Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
LRUEntriesMap uses only key and value object size to keep track of the heap memory consumed by the entries.
Thing is there are some more pieces of memory involved in storing this entries and they are not being taken into account. Those are:
- Hash table internals memory (buckets, nodes...).
- Smart pointer internals (control block...).
- Any other memory used to store information about the LRUMap.
The purpose of this issue is to set the line on when it is reasonable to stop measuring the heap memory consumed, and after that put in place a proper implementation to track used heap memory within what's feasible.