java-user@lucene.apache.org
[Top] [All Lists]

Verbose logging via ant, get an OOM

Subject: Verbose logging via ant, get an OOM
From: Jason Rutherglen
Date: Thu, 12 Nov 2009 11:38:29 -0800
Is there a setting to fix this?

[junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    [junit]     at java.util.Arrays.copyOf(Arrays.java:2882)
    [junit]     at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    [junit]     at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
    [junit]     at java.lang.StringBuffer.append(StringBuffer.java:320)
    [junit]     at
org.apache.tools.ant.util.DOMElementWriter.encodedata(DOMElementWriter.java:472)
    [junit]     at
org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:229)
    [junit]     at
org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:214)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:171)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:619)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:452)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Test org.apache.lucene.index.TestNRTReaderWithThreads
FAILED (crashed)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>