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

Eric Minick eric at urbancode.com
Tue Jul 20 13:26:07 CDT 2004


Alex,

I would try the anthill.java.extra.options. I believe that anthill is 
running a second copy of java to run the Ant scripts and such and that 
might be the one that's getting out of memory problems.

Eric

Alex Parsy wrote:

>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) ]
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>  
>



More information about the Anthill mailing list