ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 42696] OutOfMemoryError using unzip Task
Date Wed, 09 Dec 2009 17:40:47 GMT

--- Comment #4 from Stefan Bodewig <> 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 wasnt releasing all resources, even once

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message