Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9430

Memstore heapSize calculation - DEEP_OVERHEAD is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.0, 0.94.13
    • None
    • None
    • Reviewed

    Description

      expected += ClassSize.estimateBase(ConcurrentSkipListMap.class, false);
      expected += ClassSize.estimateBase(ConcurrentSkipListMap.class, false);
      expected += ClassSize.estimateBase(CopyOnWriteArraySet.class, false);
      expected += ClassSize.estimateBase(CopyOnWriteArrayList.class, false);
      

      We need to consider the heap requirement for KeyValueSkipListSet.
      From where CopyOnWriteArraySet & CopyOnWriteArrayList is coming into picture? I am not able to follow.
      Also we need to consider the heap for TimeRangeTracker

      Attachments

        1. HBASE-9430_94.patch
          6 kB
          Anoop Sam John
        2. HBASE-9430.patch
          6 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: