ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42696] OutOfMemoryError using unzip Task
Date Wed, 09 Dec 2009 17:40:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42696

--- Comment #4 from Stefan Bodewig <bodewig@apache.org> 2009-12-09 09:40:44 UTC ---
(In reply to comment #3)
> Stefan your Bugfix doesnt work for me. I get still an
> java.lang.OutOfMemoryError on a jar file with 27MB and 15.000 entries.
> It disappears when inserting an trace.
> log("expand "+ze.getName(), Project.MSG_INFO);
> before the try block.

The log statement probably creates more temporary objects and adds pressure to
the garbage collector, thus making the problem go away.

>From the original description and David's analysis it seems as if
java.util.zip.InflaterInputStream wasnt releasing all resources, even once
closed.

Of course we can always add a debug statement if it helps avoiding the problem.
 svn revision 888888 (cool revision number, isn't it?)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message