https://issues.apache.org/bugzilla/show_bug.cgi?id=42696
--- Comment #5 from Mounir <[email protected]> 2011-07-13 11:30:47 UTC --- Created attachment 27282 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27282 a patch to rg/apache/tools/zip/ZipFile.java to end the inflater when the InflaterInputStream is closed The OutOfMemoryError still happens with the head version. Although the fix to this bug was a call to the close() of the zip file input stream after each expand, the Inflater's native end() is never called, and thus memory is never released. This is because we are not using the InflaterInputStream's default Inflater, we are passing a new instance (you can check that InflaterInputStream at close ends the inflater only if it is the default inflater, and not passed from outside). I have patched ZipFile (check attached) to explicitly end the inflater when the input stream is closed, and the problem is resolved -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
