maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-938) out of memory when logging more messages than heap size
Date Thu, 02 May 2013 19:36:52 GMT

     [ https://jira.codehaus.org/browse/SUREFIRE-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Rosenvold closed SUREFIRE-938.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.15
         Assignee: Kristian Rosenvold

Fixed with a cute integration test in 33e110fc46aa43d10b38a93b3db74c09be6bc6d5
                
> out of memory when logging more messages than heap size
> -------------------------------------------------------
>
>                 Key: SUREFIRE-938
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-938
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12.4
>            Reporter: Andrew Gaul
>            Assignee: Kristian Rosenvold
>             Fix For: 2.15
>
>
> Observed OOM when logging more messages than heap size:
> Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOfRange(Arrays.java:3209)
>         at java.lang.String.<init>(String.java:215)
>         at java.lang.StringBuilder.toString(StringBuilder.java:430)
>         at org.apache.maven.plugin.surefire.report.TestSetRunListener.getAsString(TestSetRunListener.java:225)
>         at org.apache.maven.plugin.surefire.report.TestSetRunListener.wrap(TestSetRunListener.java:230)
>         at org.apache.maven.plugin.surefire.report.TestSetRunListener.testSucceeded(TestSetRunListener.java:161)
>         at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:100)
>         at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message