You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Probst (JIRA)" <ji...@codehaus.org> on 2007/01/25 15:15:44 UTC

[jira] Commented: (SUREFIRE-262) Surefire report plugins fails with OutOfMemoryError, doesn't scale

    [ http://jira.codehaus.org/browse/SUREFIRE-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_85997 ] 

Martin Probst commented on SUREFIRE-262:
----------------------------------------

Additionally, when you manage to reduce the reports size so that surefire-report manages to create a report, it creates one single big HTML file. The file for my 2200 tests (104 errors w/ stack traces) is 66 MB in size. This is not viewable in todays browsers.

Only solution would probably be an (optional?) multi-file report. Should I file another bug for that?

> Surefire report plugins fails with OutOfMemoryError, doesn't scale
> ------------------------------------------------------------------
>
>                 Key: SUREFIRE-262
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-262
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: report plugin
>    Affects Versions: 2.0 Report Plugin
>         Environment: MacOS X; java version "1.5.0_06"
>            Reporter: Martin Probst
>             Fix For: 2.3
>
>
> 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