ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <>
Subject AW: Junit report giving out of memory error
Date Tue, 12 Feb 2008 07:16:27 GMT
I had similar problems.

I suggest tghe following:
1. <junit> has a maxmemory attribute. I use 1024. I use forking.
2. Split the tests via include and exclude. I parted our tests into three parts.
3. Be sure that your memory option will not be overwritten by a later called Batchfile
4. Increase the memory another time. 

Jürgen Knuplesch          
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 
-----Ursprüngliche Nachricht-----
Von: Mevitha [] 
Gesendet: Dienstag, 12. Februar 2008 04:51
Betreff: Junit report giving out of memory error


I am using WSAD 5.1 to run an ant script to run junit test cases.
Everything is fine except when the junit report starts, I am getting the below error.


[mkdir] Created dir: D:\TempTesting\TestReports

[junitreport] Using Xalan version: XSLT4J Java 2.6.5

BUILD FAILED: java.lang.StackOverflowError

Total time: 4 minutes 21 seconds

It is working fine on another machine. But not in mine.
I have tried giving ANT_OPTS=-Xmx500M

Please let me know how to resolve this.

Thanks in advance.


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message