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

Provide additional option to calculate actual object size

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Performance, util
    • Labels:
      None

      Description

      (May be it was discussed elsewhere and I missed it, in that case I'm sorry )
      Currently there's HeapSize interface, marked as the one useful to measure caches, and some implementation thereof computing the sizes of different objects.

      I was thinking to add something like https://code.google.com/p/memory-measurer/ and provide sort of default implementation of HeapSize which can measure the size of arbitrary objects in bytes. Would require a javaagent to be hooked up.

      Thoughts?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mantonov Mikhail Antonov
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: