maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SUREFIRE-754) unbounded memory use when capturing logs
Date Wed, 29 Jun 2011 17:05:42 GMT
unbounded memory use when capturing logs
----------------------------------------

                 Key: SUREFIRE-754
                 URL: https://jira.codehaus.org/browse/SUREFIRE-754
             Project: Maven Surefire
          Issue Type: Bug
    Affects Versions: 2.9
            Reporter: Andrew Gaul


Surefire should dump logs directly to a file instead of buffering in-memory.

Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2894)
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:407)
        at java.lang.StringBuffer.append(StringBuffer.java:241)
        at org.apache.maven.surefire.report.ConsoleOutputFileReporter.writeMessage(ConsoleOutputFileReporter.java:115)
        at org.apache.maven.surefire.report.MulticastingReporter.writeMessage(MulticastingReporter.java:101)
        at org.apache.maven.surefire.report.TestSetRunListener.writeTestOutput(TestSetRunListener.java:99)
        at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:132)
        at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
        at java.lang.Thread.run(Thread.java:679)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message