hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7435) BuiltInGzipDecompressor is only released during full GC
Date Tue, 19 Mar 2013 17:19:17 GMT

    [ 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

View raw message