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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to