You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/05/21 05:43:37 UTC
[jira] [Created] (HBASE-11219) HRegionServer#createRegionLoad()
should reuse RegionLoad.Builder instance
Ted Yu created HBASE-11219:
------------------------------
Summary: HRegionServer#createRegionLoad() should reuse RegionLoad.Builder instance
Key: HBASE-11219
URL: https://issues.apache.org/jira/browse/HBASE-11219
Project: HBase
Issue Type: Improvement
Reporter: Ted Yu
Assignee: Ted Yu
As Andrew showed in the attachment to HBASE-11165, ClusterStatusProtos$RegionLoad$Builder took 25MB heap space.
buildServerLoad() calls createRegionLoad() for each region on the region server.
One instance of ClusterStatusProtos$RegionLoad$Builder can be created outside the loop and passed to createRegionLoad().
Thanks Andrew for the finding.
--
This message was sent by Atlassian JIRA
(v6.2#6252)