[Anthill] OutOfMemoryError when running junit test target of my application

Alex Parsy alex.parsy at gmail.com
Tue Jul 20 12:37:53 CDT 2004


Hi all,

I have allot of unit tests that run for my project.   I seems that at
some point anthill chokes with OutOfMemory error.

I searched this mailing list and found some people having posted same
error when trying to compile under Anthill.

The suggestion was to pass  -Xmx java params to 
anthill.java.extra.options   parameter in projects  configuraiton
page.


Can this be used to get my junits to run as well ?     any suggestions
?   I initially modified the catalina.sh  and passed a -Xmx  variable
to its java startup but that didn't make the outofmemory error go
away.


    [junit] com.mycomp.myapp.test.TestMyApp......
    [junit] Tests run: 177, Failures: 38, Errors: 3, Time elapsed: 605.461 sec
    [junit] Exception in thread "main" java.lang.OutOfMemoryError
    [junit] [ End of IIOP connection (192.168.1.1:2002) ]



More information about the Anthill mailing list