lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject test buffering causes OOM errors
Date Sat, 21 Jul 2012 09:04:58 GMT
Is there a way we can write to a file instead of buffering test output
in memory?
This has been causing exceptions for me lately.

[junit4:junit4] Event bus dispatch error: java.lang.OutOfMemoryError:
Java heap space
[junit4:junit4] java.lang.OutOfMemoryError: Java heap space
[junit4:junit4] 	at java.util.Arrays.copyOf(Arrays.java:2882)
[junit4:junit4] 	at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
[junit4:junit4] 	at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515)
[junit4:junit4] 	at java.lang.StringBuffer.append(StringBuffer.java:306)
[junit4:junit4] 	at java.io.StringWriter.write(StringWriter.java:77)
[junit4:junit4] 	at
com.carrotsearch.ant.tasks.junit4.dependencies.org.apache.commons.io.output.WriterOutputStream.flushOutput(WriterOutputStream.java:303)

-Yonik
http://lucidimagination.com

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


Mime
View raw message