ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Out of memory
Date Tue, 06 Oct 2009 07:32:30 GMT
On 2009-10-06, Knuplesch, Juergen <> wrote:

> My build runs now with -Xmx1500m and still out of memory.

> It seems that the memory of big tasks I use is not garbage collected
> after I used them.  (e.g. XSLT with saxon on the classpath, junit with
> 2200 tests...)

Ant 1.7.1 has a few classloader leaks that have been plugged in trunk -
one affected <junit>[1] - so you could try a trunk build of Ant to see
whether this helps.

I'd first try to fork the junit tests into a new VM so the memory used
by the tests themselves is not used by Ant's VM and gets reclaimed once
the tests are done.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message