Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8750

Size tracking for LRUEntriesMap is not accurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • native client
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaussianrecurrence Mario Salazar de Torres
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: