在运行jenkins构建时,我收到了java堆空间错误

时间:2014-07-24 03:40:59

标签: maven jenkins

Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2367)
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
        at java.lang.StringBuilder.append(StringBuilder.java:132)
        at org.apache.maven.plugin.surefire.report.TestSetRunListener.getAsString(TestSetRunListener.java:221)
        at org.apache.maven.plugin.surefire.report.TestSetRunListener.wrap(TestSetRunListener.java:228)
        at org.apache.maven.plugin.surefire.report.TestSetRunListener.testFailed(TestSetRunListener.java:182)
        at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:114)
        at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
        at java.lang.Thread.run(Thread.java:744)
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space

0 个答案:

没有答案