Dave Latham created HBASE-9089: ---------------------------------- Summary: HRegion.heapSize is missing many fields Key: HBASE-9089 URL: https://issues.apache.org/jira/browse/HBASE-9089 Project: HBase Issue Type: Bug Reporter: Dave Latham Priority: Minor
HRegion's heapSize method is missing many fields from its calculation. The static value DEEP_OVERHEAD is missing these: {noformat} // 1 x HashMap - coprocessorServiceHandlers // 6 org.cliffc.high_scale_lib.Counter - numMutationsWithoutWAL, dataInMemoryWithoutWAL, // checkAndMutateChecksPassed, checkAndMutateChecksFailed, readRequestsCount, // writeRequestsCount, updatesBlockedMs // 1 x HRegion$WriteState - writestate // 1 x RegionCoprocessorHost - coprocessorHost // 1 x RegionSplitPolicy - splitPolicy // 1 x MetricsRegion - metricsRegion // 1 x MetricsRegionWrapperImpl - metricsRegionWrapper {noformat} and the actual heapSize() method doesn't take into account at least row locks, recent flushes, mvcc entries, and coprocessors. Possibly more. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira