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

Provide additional option to calculate actual object size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.0.0
    • None
    • Performance, util
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: