You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "tianliuhe (Jira)" <ji...@apache.org> on 2022/10/21 02:24:00 UTC

[jira] [Created] (HBASE-27439) metrics method removeHistogramMetrics trigger serious memory leak

tianliuhe created HBASE-27439:
---------------------------------

             Summary: metrics method removeHistogramMetrics trigger serious memory leak
                 Key: HBASE-27439
                 URL: https://issues.apache.org/jira/browse/HBASE-27439
             Project: HBase
          Issue Type: Bug
          Components: metrics, regionserver
         Environment: java linux
            Reporter: tianliuhe


!https://user-images.githubusercontent.com/13758677/196915944-71197086-2d53-4a85-8b5e-0a61441e8f64.png!

the method removeHistogramMetrics will cause the metricsMap leak!
because the put op in the map is the baseName but the remove is not , the origin code add the histogramSuffixe follow the baseName when remove.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)