hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Garg02 <Neeraj_Gar...@infosys.com>
Subject Re: [jira] [Updated] (HBASE-11267) Dynamic metrics2 metrics may consume large amount of heap memory
Date Thu, 29 May 2014 17:26:57 GMT

Please unsubscribe me from this list. I've already sent a request email at designated email
for the same. However, I'm getting such email. 

Request concerned person to please do the needful.

Thanks and Regards,
Neeraj Garg

----- Original Message -----
From: Ted Yu (JIRA) [mailto:jira@apache.org]
Sent: Thursday, May 29, 2014 10:53 PM India Standard Time
To: issues@hbase.apache.org <issues@hbase.apache.org>
Subject: [jira] [Updated] (HBASE-11267) Dynamic metrics2 metrics may consume large amount
of heap memory

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

Ted Yu updated HBASE-11267:

    Attachment: 11267-v1.txt

Please see patch v1

> Dynamic metrics2 metrics may consume large amount of heap memory
> ----------------------------------------------------------------
>                 Key: HBASE-11267
>                 URL: https://issues.apache.org/jira/browse/HBASE-11267
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>             Fix For: 0.99.0
>         Attachments: 11267-v1.txt
> User sunweiei provided the following jmap output in 0.96 deployment:
> {code}
>  num     #instances         #bytes  class name
> ----------------------------------------------
>    1:      14917882     3396492464  [C
>    2:       1996994     2118021808  [B
>    3:      43341650     1733666000  java.util.LinkedHashMap$Entry
>    4:      14453983     1156550896  [Ljava.util.HashMap$Entry;
>    5:      14446577      924580928  org.apache.hadoop.metrics2.lib.Interns$CacheWith2Keys$2
> {code}
> Heap consumption by Interns$CacheWith2Keys$2 could be due to calls to Interns.info()
in DynamicMetricsRegistry.
> This scenario would arise when large number of regions are tracked through metrics2.
> Interns class doesn't provide API to remove entries in its internal Map.
> Meaning, DynamicMetricsRegistry#clearMetrics() is unable to reclaim that part of heap.

This message was sent by Atlassian JIRA

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

View raw message