I also seem to have the problem except that my build file is all one
file.  It seems to happen when I make use of lots of <antcall
target...>.
My solution was to bump up the size of memory and stack, but this seems
to be a temporary fix.
I am using ant 1.3 which came with Weblogic 6.1.

--Jim

--- Guilhem Molines <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I have a main build_all.xml file in which I call several (about
> 20-30)
> other build.xml, using
> <ant antfile="build/build.xml" dir="some dir" target="compile"/>
> 
> If I look the size of ant JVM in NT4 (SP6a) task manager, it keeps
> growing, to value as high as 400 Mo ! Eventually, it'll blow out with
> an
> out of memory exception. [my machine has 512 Mo]
> 
> Now, each build file is really independent of the other ones. My main
> build is just a way to sequence them. If I split my main build in two
> (call the first 10 build, then the remaining ones), then it goes
> through.
> 
> I suppose ant builds some kind of internal structure that is not
> released correctly. Note that my individual build call javac in a
> separate JVM.
> 
> Of course, I increased ant's JVM size, but that's more a band-aid
> than a
> solution. And the day I need to call not 30, but 50 or 100 other
> build,
> then it'll break again.
> 
> Any clue ? 
> 
> Thanks.
> 
> -- 
> Guilhem MOLINES
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


=====
"Those who live in the shelter of the Most High will find rest in the shadow of the 
Almighty.
This I declare of the Lord:  He alone is my refuge, my place of safety; he is my God, 
and I am trusting him�"

Psalms 91:1-2 (New Living Translation)

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to