Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

XML Reporter OOM error #100

Open
GoogleCodeExporter opened this issue Apr 23, 2015 · 0 comments
Open

XML Reporter OOM error #100

GoogleCodeExporter opened this issue Apr 23, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. See Issue #24: http://code.google.com/p/testng/issues/detail?id=24

What is the expected output? What do you see instead?
Expected the XML reporter to write out the test results but instead got an  OOM 
error:

java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2882)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
    at java.lang.StringBuilder.append(StringBuilder.java:203)
    at org.testng.internal.Utils.escapeUnicode(Utils.java:568)
    at org.testng.internal.Utils.writeUtf8File(Utils.java:123)
    at org.testng.reporters.XMLReporter.generateReport(XMLReporter.java:45)
    at org.testng.TestNG.generateReports(TestNG.java:931)
    at org.testng.TestNG.run(TestNG.java:912)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:89)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:144)

What version of the product are you using? On what operating system?
TestNG 5.14 on Mac OS X 10.6.4

Please provide any additional information below.

See Issue #24: http://code.google.com/p/testng/issues/detail?id=24

Original issue reported on code.google.com by [email protected] on 29 Sep 2010 at 10:01

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant