lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Verbose logging via ant, get an OOM
Date Thu, 12 Nov 2009 19:45:40 GMT
Raise -Xmx, there is a setting in common-build.xml or buidl.xml

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Jason Rutherglen [mailto:jason.rutherglen@gmail.com]
> Sent: Thursday, November 12, 2009 8:38 PM
> To: java-user@lucene.apache.org
> Subject: Verbose logging via ant, get an OOM
> 
> 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.jav
> a: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.endTe
> stSuite(XMLJUnitResultFormatter.java:171)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSu
> ite(JUnitTestRunner.java:619)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTest
> Runner.java:452)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitT
> estRunner.java:911)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTes
> tRunner.java:768)
>     [junit] Test org.apache.lucene.index.TestNRTReaderWithThreads
> FAILED (crashed)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message