Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Ant within Eclipse Junit OutOfMemoryException

Ant within Eclipse Junit OutOfMemoryException

2007-06-28       - By pam
Reply:     1     2  


Hi,
I'm not sure if this is the correct forum for this question, but I'm running
Junit tests with ant, within Eclipse. I have a lot of tests, I wish to run
them overnight , then look at a JUnitReport.
Repeatedly I have abandoned this method because I get an
OutOfMemoryException after about 35 minutes.
----------------
BUILD FAILED
java.lang.OutOfMemoryError: Java heap space

Total time: 36 minutes 11 seconds
---------------

I have trawled the web, added -Xmx640m as a vm argument to the JVM and
variable ANT_OPS= -Xmx640m in the ant set up.

But still I get the error.

Does anyone have experience with this?
I am using Eclipse 3.1 and ant 1.6.5

Thanks,Pam.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.