Hi all. I'm hoping somebody can please please help me with this: I'm calling <antcall> several times in a large project (build.xml is 700k big) The first few times its okay, but then it runs out of memory.
I've transferred everything important for this particular task down to a tiny buildfile, and am running that instead. This time it gets much further, but after about the 10th <antcall> it runs out of memory again. I've passed -Xmx and -Xms as ANT_OPTS to the ANT process giving it 256Meg to play with. It gets to about the 50th <antcall> and then runs out of memory. I'm guessing that everytime antcall is run, a whole new set of environment properties are set up which dont get destroyed on returning from the antcall. Is that right? Why is antcall soaking up so much memory- What can I do to stop this happening? I really need this fixed as urgently as possible, even if it means delving into the source of antcall and sorting it out myself which I'm happy to do, but I'd really appreciate a couple of pointers as to whats going on, because at the moment I cant build my system :( Thanks for all your help -Geoff -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
