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 03E04FD8A for ; Tue, 19 Mar 2013 17:19:18 +0000 (UTC) Received: (qmail 1608 invoked by uid 500); 19 Mar 2013 17:19:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 1575 invoked by uid 500); 19 Mar 2013 17:19:17 -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 1558 invoked by uid 99); 19 Mar 2013 17:19:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 17:19:17 +0000 Date: Tue, 19 Mar 2013 17:19:17 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7435) BuiltInGzipDecompressor is only released during full GC 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-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606538#comment-13606538 ] Lars Hofhansl commented on HBASE-7435: -------------------------------------- With this patch TestHFileBlock takes up tp 2.2g of resident heap, whereas without this patch it takes only 700mb. > BuiltInGzipDecompressor is only released during full GC > ------------------------------------------------------- > > Key: HBASE-7435 > URL: https://issues.apache.org/jira/browse/HBASE-7435 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Fix For: 0.95.0, 0.94.4 > > Attachments: 7435-0.94.txt, 7435-0.96.txt > > > That seems to be bug in Hadoop, actually. > BuiltInGzipDecompressor.end() needs to be called to release it's resource, but it is not called anywhere in CodecPool. > Instead the end() is called by finalize(), which is only called during a full gc (or never, depending on JVM). > This is only an issue in test. In real life most folks will have the native GzipDecompressor -- 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