Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F8E211D09 for ; Wed, 21 May 2014 16:56:40 +0000 (UTC) Received: (qmail 80459 invoked by uid 500); 21 May 2014 16:56:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80388 invoked by uid 500); 21 May 2014 16:56:39 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 80341 invoked by uid 99); 21 May 2014 16:56:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 16:56:39 +0000 Date: Wed, 21 May 2014 16:56:39 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11219) HRegionServer#createRegionLoad() should reuse RegionLoad.Builder instance when called in a loop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004904#comment-14004904 ] Ted Yu commented on HBASE-11219: -------------------------------- I am using jmap to check the region servers in cluster accessible to me. Will report back. > HRegionServer#createRegionLoad() should reuse RegionLoad.Builder instance when called in a loop > ----------------------------------------------------------------------------------------------- > > Key: HBASE-11219 > URL: https://issues.apache.org/jira/browse/HBASE-11219 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.99.0, 0.98.3 > > Attachments: 11219-v1.txt, 11219-v2.txt > > > 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)