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

Aaron Kimball updated HADOOP-6754:
----------------------------------

    Attachment: CompressionBug.java

This short program illustrates the problem. The {{failing()}} method will 
terminate with an OutOfMemoryException. This occurs quickly with native libs 
enabled and less quickly (more iterations of the loop) with native libs 
disabled - but both of these leak.

> 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.

Reply via email to