hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Shreedharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10591) Compression codecs must used pooled direct buffers or deallocate direct buffers when stream is closed
Date Sat, 10 May 2014 22:15:31 GMT
Hari Shreedharan created HADOOP-10591:
-----------------------------------------

             Summary: Compression codecs must used pooled direct buffers or deallocate direct
buffers when stream is closed
                 Key: HADOOP-10591
                 URL: https://issues.apache.org/jira/browse/HADOOP-10591
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Hari Shreedharan


Currently direct buffers allocated by compression codecs like Gzip (which allocates 2 direct
buffers per instance) are not deallocated when the stream is closed. Eventually for long running
processes which create a huge number of files, these direct buffers are left hanging till
a full gc, which may or may not happen in a reasonable amount of time - especially if the
process does not use a whole lot of heap.

Either these buffers should be pooled or they should be deallocated when the stream is closed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message