Surefire report plugins fails with OutOfMemoryError, doesn't scale
------------------------------------------------------------------
Key: MSUREFIREREP-38
URL: http://jira.codehaus.org/browse/MSUREFIREREP-38
Project: Maven 2.x Surefire report Plugin
Issue Type: Bug
Affects Versions: 2.0
Environment: MacOS X; java version "1.5.0_06"
Reporter: Martin Probst
The surefire report plugin fails to create a test report with an
OutOfMemoryError.
I've set MAVEN_OPTS to -Xmx512m and to -Xmx1024m. With 512m the report fails
after about 3 minutes, with 1GB it taks significantly longer. Both report
generation tasks fail.
{pre}
[INFO] [surefire-report:report]
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.OutOfMemoryError: Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 21 seconds
[INFO] Finished at: Sat Jan 20 12:59:13 CET 2007
[INFO] Final Memory: 69M/1016M
[INFO] ------------------------------------------------------------------------
{/pre}
This happens regardless of the actual JUnit tests - I ran this with
-Dmaven.test.skip=true.
The target/surefire-reports directory contains over 700 MB of XML reports,
mainly due to long stack traces in the mostly failing 2000+ tests. However the
JUnit reports plugin in ANT which we used to use had no problems handling this
kind of data.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira