Noel Sebastien (BIL) wrote:
Thanks... We are running on a WEbApp under WebSphere 5.1. I already set
memory to 512 Mo and printed the free memory before the Ant call. 300 Mo
free is displayed !! I hoped it was enough !!!
We call an Ant file containing some tasks (easy OR heavy ones) ..
Sometimes it crashes on an easy FTP task.. Sometimes on an heavy javac
... The probem seems to be not related to the task involved.
Ant itself tries very hard not to leak memory; the eclipse team spent a
lot of time helping us there.
but
-tasks can leak, and javac is known for creating lots of static memory
structs.
-XSL transforms need a lot of memory, esp. on java1.5 with the built in
xsltc engine
-<available> as a condition leaked classloaders in ant1.6.5 if you were
looking for a class or resource (now fixed)
try forking anything that forks, such as javac, and java tasks, use
xalan for xslt work.
steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]