ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
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                    www.icongmbh.de
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 [mailto:mevithamathew@gmail.com] 
Gesendet: Dienstag, 12. Februar 2008 04:51
An: user@ant.apache.org
Betreff: Junit report giving out of memory error


Hi,

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.

unitTestReport:

[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.

Mevitha


--
View this message in context: http://www.nabble.com/Junit-report-giving-out-of-memory-error-tp15425981p15425981.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message