Hi Stefan, Thanks for your quick response. I tried by defining by taskdef in a different way and it works now. In the task definition, I dont put classpath and start ant -lib $MY_LIB, it works fine.
Does that mean taskdef implementation has a problem? I can live with this annoyance for now, but this problem makes ANT unscalable for big projects. I liked your articles,"New Ant 1.6 Features for Big Projects" & "Ant 1.6 for Task Writers", they are very informative. thanks, Rama Pulavarthi --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > 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] > > __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]