You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hong Tang (JIRA)" <ji...@apache.org> on 2010/05/07 04:35:50 UTC

[jira] Commented: (HADOOP-6754) DefaultCodec.createOutputStream() leaks memory

    [ https://issues.apache.org/jira/browse/HADOOP-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865005#action_12865005 ] 

Hong Tang commented on HADOOP-6754:
-----------------------------------

Aaron, this is not a bug, you should use DefaultCodec.createOutputStream(OutputStream out, Compressor compressor).

> DefaultCodec.createOutputStream() leaks memory
> ----------------------------------------------
>
>                 Key: HADOOP-6754
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6754
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Aaron Kimball
>         Attachments: CompressionBug.java
>
>
> DefaultCodec.createOutputStream() creates a new Compressor instance in each OutputStream. Even if the OutputStream is closed, this leaks memory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.