Hello,
I've a problem/error with ANT emmarun :
[emmajava] [EMMA v2.0, build 5312] [emmajava] emmarun: [MAIN_METHOD_FAILURE] fr.ifp.reservoir.AllProjectUnitTests.main() method failure: java.lang.OutOfMemoryError: Java heap space [emmajava] Exception in thread "main" com.vladium.emma.EMMARuntimeException: [MAIN_METHOD_FAILURE] fr.society.obj.AllProjectUnitTests.main() method failure: java.lang.OutOfMemoryError: Java heap space [emmajava] at com.vladium.emma.rt.AppRunner._run(AppRunner.java:533) [emmajava] at com.vladium.emma.rt.AppRunner.run(AppRunner.java:97) [emmajava] at com.vladium.emma.runCommand.run(runCommand.java:247) [emmajava] at emmarun.main(emmarun.java:27) [emmajava] Caused by: java.lang.OutOfMemoryError: Java heap space [emmajava] Java Result: 1
Do you know how to increase the memory ? What's the pb ?
Regards, Eric Reboisson
Read the docs on the JVM command line (java --help) on how to increate memory (-Xmx option).
You might also want to consider instrumenting your classes directly rather than using EMMARun if you still have problems.
-- Chad
Log in to post a comment.
Hello,
I've a problem/error with ANT emmarun :
[emmajava] [EMMA v2.0, build 5312]
[emmajava] emmarun: [MAIN_METHOD_FAILURE] fr.ifp.reservoir.AllProjectUnitTests.main() method failure: java.lang.OutOfMemoryError: Java heap space
[emmajava] Exception in thread "main" com.vladium.emma.EMMARuntimeException: [MAIN_METHOD_FAILURE] fr.society.obj.AllProjectUnitTests.main() method failure: java.lang.OutOfMemoryError: Java heap space
[emmajava] at com.vladium.emma.rt.AppRunner._run(AppRunner.java:533)
[emmajava] at com.vladium.emma.rt.AppRunner.run(AppRunner.java:97)
[emmajava] at com.vladium.emma.runCommand.run(runCommand.java:247)
[emmajava] at emmarun.main(emmarun.java:27)
[emmajava] Caused by: java.lang.OutOfMemoryError: Java heap space
[emmajava] Java Result: 1
Do you know how to increase the memory ?
What's the pb ?
Regards,
Eric Reboisson
Read the docs on the JVM command line (java --help) on how to increate memory (-Xmx option).
You might also want to consider instrumenting your classes directly rather than using EMMARun if you still have problems.
-- Chad