Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 97540 invoked from network); 15 Oct 2008 03:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2008 03:51:35 -0000 Received: (qmail 24749 invoked by uid 500); 15 Oct 2008 03:51:36 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 24729 invoked by uid 500); 15 Oct 2008 03:51:36 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 24718 invoked by uid 99); 15 Oct 2008 03:51:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 20:51:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 03:50:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 722FB234C224 for ; Tue, 14 Oct 2008 20:50:44 -0700 (PDT) Message-ID: <372317384.1224042644466.JavaMail.jira@brutus> Date: Tue, 14 Oct 2008 20:50:44 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-900) Regionserver memory leak causing OOME during relatively modest bulk importing In-Reply-To: <545424030.1222300426159.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639707#action_12639707 ] stack commented on HBASE-900: ----------------------------- I got 185 PE regions into single HRS before HDFS went bad; about 32M rows of 1k values and 10byte keys. Profiling, only thing that grows in memory is the count of HSKs. Each store file we open has an index of long to HSK. As the upload progresses, more index is in memory. Was going to move this out of 0.18.1 since its not obviously broken but then talked to Rong-en. He says that it was reading where he was seeing memory issues. Will try a read test. > Regionserver memory leak causing OOME during relatively modest bulk importing > ----------------------------------------------------------------------------- > > Key: HBASE-900 > URL: https://issues.apache.org/jira/browse/HBASE-900 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.2.1, 0.18.0 > Reporter: Jonathan Gray > Assignee: stack > Priority: Critical > Fix For: 0.18.1 > > > I have recreated this issue several times and it appears to have been introduced in 0.2. > During an import to a single table, memory usage of individual region servers grows w/o bounds and when set to the default 1GB it will eventually die with OOME. This has happened to me as well as Daniel Ploeg on the mailing list. In my case, I have 10 RS nodes and OOME happens w/ 1GB heap at only about 30-35 regions per RS. In previous versions, I have imported to several hundred regions per RS with default heap size. > I am able to get past this by increasing the max heap to 2GB. However, the appearance of this in newer versions leads me to believe there is now some kind of memory leak happening in the region servers during import. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.