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:55:33 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-12001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Antonov updated HBASE-12001:
------------------------------------
    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?

  was:
(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?


> 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 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?



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