You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mikhail Antonov (JIRA)" <ji...@apache.org> on 2014/09/17 08:53:34 UTC

[jira] [Created] (HBASE-12001) Provide additional option to calculate actual object size

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)