[ http://jira.codehaus.org/browse/SUREFIRE-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-262: ---------------------------------- Fix Version/s: 2.3 > 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