Mikhail Antonov created HBASE-12001:
---------------------------------------

             Summary: Provide additional option to calculate actual object size
                 Key: HBASE-12001
                 URL: https://issues.apache.org/jira/browse/HBASE-12001
             Project: HBase
          Issue Type: Improvement
          Components: util
    Affects Versions: 2.0.0
            Reporter: Mikhail Antonov


(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 attached something like 
https://code.google.com/p/memory-measurer/ and provide sort of default 
implementaiton of HeapSize which can measure the size of arbitrary object in 
bytes. Would require a javaagent to be hooked up.

Thoughts?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to