Bryan Beaudreault created HBASE-27891:
-----------------------------------------
Summary: Report heap used by BucketCache as a jmx metric
Key: HBASE-27891
URL: https://issues.apache.org/jira/browse/HBASE-27891
Project: HBase
Issue Type: Improvement
Reporter: Bryan Beaudreault
The BucketCache can take a non-trivial amount of heap, especially for very
large cache sizes. For example, we have a server with 500k blocks in the bucket
cache, and according to a heap dump it was holding around 260mb. One needs to
account for this when determining the size of heap to use, so we should report
it.
The major contributors I saw were the offsetLock, blocksByHFile set, and
backingMap.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)