ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject RE: OurOfMemoryError
Date Tue, 04 Sep 2001 13:34:21 GMT
What is the output of "java -version" ?  I was running with 1.3.0-C and saw
this a lot on my big projects.

I logged a bug with Sun and got a message back from their bug team that they
were already aware of the issue and were currently trying to fix it.  Of
course, the only work around for the time being was to increase memory to
the JVM.  Do you have another JVM you could use as a test?

To the general ANT public (probably a question for Development) - are there
any areas that you are aware of where Ant is holding on to objects that it
doesn't really need?  E.g. -- Is there any ("patch")work the rest of us
could be doing to increase the performance of Ant?  I guess I could run one
of my larger scripts through a profiler to see where the most intensive
parts are...

-Jason

-----Original Message-----
From: Natalia Bello [mailto:nbello@isabel.be]
Sent: Friday, August 31, 2001 11:12 AM
To: 'ant-user@jakarta.apache.org'
Subject: OurOfMemoryError


Hello, 
I dont know if i should ask this cuestion here or in the Cruisecontrol, but
i think that it also concern to Ant. Ok, here it is:
i have been using cruisecontrol with Ant1.3 and no problems. Now i have
change to Ant1.4, 
I have tried alpha, beta1, beta2 and Ant 1.5 and in all cases, i have the
error: 
java.lang.outofmemoryError 
<<no stack trace available>> 
This error occurs not allways in the same place, some times compiling,
sometimes doing javadocs, and other times just doing an echo.
The strange thing is that if i run my scripts without cruisecontrol, i dont
have the error. 
any idea? 
I have tried to increase the memory with -Xmx and -Xms but it didnt solve
the problem. 
Thanks in advanced! 
Natalia 


Mime
View raw message