FlyBe_-_soapUI_
13 years agoNew Contributor
OutOfMemoryError While Loading Test Cases
Hello,
I have created a testpack with combines a SOAP & REST service, with a groovy script to go to one of our databases to build up the information required for the XML Request for the REST service. However, after opening 5 test cases, I receive an OOM error. Closing test cases does not reduce the memory used, and running a garbage collection also does not reduce the memory used.
Other than killing the process I can't seem to work out why it is doing this.
Below is the stack trace from the error log. I've checked soapui-errors.log, and soapui.log and errors.log and found nothing there, I've also tried increasing the -Xmx value and it still doesn't work. Any ideas?
Wed Nov 28 13:36:26 GMT 2012:ERROR:java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at com.eviware.soapui.support.xml.XPathData.getCanonicalPath(XPathData.java:271)
at com.eviware.soapui.support.xml.XPathData.getHashKey(XPathData.java:156)
at com.eviware.soapui.support.xml.XPathData.hashCode(XPathData.java:151)
at java.util.HashMap.put(Unknown Source)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverage.a(SourceFile:224)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:127)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.buildDefault(SourceFile:105)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverage.a(SourceFile:78)
at com.eviware.soapui.impl.coverage.MessageCoverage.a(SourceFile:83)
at com.eviware.soapui.impl.coverage.ResponseCoverage.a(SourceFile:113)
at com.eviware.soapui.impl.coverage.WsdlOperationCoverage.a(SourceFile:87)
at com.eviware.soapui.impl.coverage.ProjectCoverage.initStats(SourceFile:380)
at com.eviware.soapui.impl.coverage.ProjectCoverage.d(SourceFile:187)
at com.eviware.soapui.impl.coverage.ProjectCoverage.init(SourceFile:170)
I have created a testpack with combines a SOAP & REST service, with a groovy script to go to one of our databases to build up the information required for the XML Request for the REST service. However, after opening 5 test cases, I receive an OOM error. Closing test cases does not reduce the memory used, and running a garbage collection also does not reduce the memory used.
Other than killing the process I can't seem to work out why it is doing this.
Below is the stack trace from the error log. I've checked soapui-errors.log, and soapui.log and errors.log and found nothing there, I've also tried increasing the -Xmx value and it still doesn't work. Any ideas?
Wed Nov 28 13:36:26 GMT 2012:ERROR:java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at com.eviware.soapui.support.xml.XPathData.getCanonicalPath(XPathData.java:271)
at com.eviware.soapui.support.xml.XPathData.getHashKey(XPathData.java:156)
at com.eviware.soapui.support.xml.XPathData.hashCode(XPathData.java:151)
at java.util.HashMap.put(Unknown Source)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverage.a(SourceFile:224)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:127)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.a(SourceFile:155)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverageBuilder.buildDefault(SourceFile:105)
at com.eviware.soapui.impl.coverage.XmlDocumentCoverage.a(SourceFile:78)
at com.eviware.soapui.impl.coverage.MessageCoverage.a(SourceFile:83)
at com.eviware.soapui.impl.coverage.ResponseCoverage.a(SourceFile:113)
at com.eviware.soapui.impl.coverage.WsdlOperationCoverage.a(SourceFile:87)
at com.eviware.soapui.impl.coverage.ProjectCoverage.initStats(SourceFile:380)
at com.eviware.soapui.impl.coverage.ProjectCoverage.d(SourceFile:187)
at com.eviware.soapui.impl.coverage.ProjectCoverage.init(SourceFile:170)