ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson \(KI/EAB\)" <mikael.petter...@ericsson.com>
Subject <junitreport> and jdk1.4.2 gives java.langOutOfMemoryError
Date Fri, 27 May 2005 08:30:03 GMT
Hi,

I have had this problem before but increasing Xms and Xmx solved it (ANT_OPTS). However now
it does not.

I have  tests that is being run. No problem! I also create a coverage report with emma. But
when I get to the junitreport-task I get a java.lang.OutOfMemoryError.

I am using ant 1.6.2, xalan 2.6.0 and, jdk1.4.2_04. 

The funny thing is that when I run these things under cruise control 2.2.1 it works just fine!
( I guess I have to check with the cruise control guys to find out how they execute it all).
But when I execute things in my shell script I java.lang.OutOfMemoryError ( see below).

Well if you have any hints I will be very happy to hear from you.

Cheers,

//Mikael

shell script log
==========

.........
Class com.vladium.emma.report.html.doc.HTMLTable$Cell loaded from ant loader (parentFirst)
Finding class com.vladium.emma.report.html.doc.ElementList
Loaded from /vobs/rbs/sw/rbssw_tools/boam_tools/emma/emma.jar com/vladium/emma/report/html/doc/ElementList.class
Class com.vladium.emma.report.html.doc.ElementList loaded from ant loader (parentFirst)
Finding class com.vladium.emma.report.html.doc.HyperRef
Loaded from /vobs/rbs/sw/rbssw_tools/boam_tools/emma/emma.jar com/vladium/emma/report/html/doc/HyperRef.class
Class com.vladium.emma.report.html.doc.HyperRef loaded from ant loader (parentFirst)
Class java.lang.Integer loaded from parent loader (parentFirst)
Finding class com.vladium.emma.report.SourcePathCache$CacheEntry
Loaded from /vobs/rbs/sw/rbssw_tools/boam_tools/emma/emma.jar com/vladium/emma/report/SourcePathCache$CacheEntry.class
Class com.vladium.emma.report.SourcePathCache$CacheEntry loaded from ant loader (parentFirst)
Class java.io.BufferedReader loaded from parent loader (parentFirst)

test:junit:report:
fileset: Setup scanner in dir /vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/coverage
with patternSet{ includes: [TEST*.xml] excludes: [] }
[junitreport] Parsing file: '/vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/coverage/TEST-se.ericsson.wcdma.rbs.boam.common.reflect.coc.tb.sut.CoCTest.xml'
[junitreport] Parsing file: '/vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/coverage/TEST-se.ericsson.wcdma.rbs.boam.common.reflect.common.tb.sut.AckATest.xml'
[junitreport] Parsing file: '/vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/coverage/TEST-se.ericsson.wcdma.rbs.boam.common.tb.sut.TestItAllCreate_rbs3101.xml'
[junitreport] Parsing file: '/vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/coverage/TEST-se.ericsson.wcdma.rbs.boam.common.tb.sut.TestItAllCreate_rbs3106.xml'

BUILD FAILED
java.lang.OutOfMemoryError
	at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
	at org.apache.tools.ant.Main.runBuild(Main.java:673)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.OutOfMemoryError
--- Nested Exception ---
java.lang.OutOfMemoryError

Total time: 35 minutes 2 seconds

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


Mime
View raw message