ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <geo...@isocra.com>
Subject Need Help with <antcall> task
Date Mon, 09 Sep 2002 16:23:37 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message