You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/03/19 18:21:15 UTC

[jira] [Issue Comment Deleted] (HBASE-7435) BuiltInGzipDecompressor is only released during full GC

     [ https://issues.apache.org/jira/browse/HBASE-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-7435:
---------------------------------

    Comment: was deleted

(was: 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