On Thu, 3 Nov 2005, aubie au <[EMAIL PROTECTED]> wrote: > In main/build.xml, I call the build targets of all > subN using ant task(I tried subant task also). > The problem is, when I run all subN from > main/build.xml, ant creates a separate classloader > (AntClassLoader2) each time i call <customizer> task. > This is never GCed throught the execution of main > project although the particular subn is done, finally > running out of memory.
I think you've hit <http://issues.apache.org/bugzilla/show_bug.cgi?id=33061> which also mentions a few workarounds. Even though I've assigned the bug to myself I failed to find time to fully research the issue yet. If -XX,+AggressiveHeap really helps, this seems to be more of a JVM than an Ant issue. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]