Forum Discussion

gaurabde's avatar
gaurabde
New Contributor
14 years ago

JVM heap size issue

Hi,
We are facing issue in usage of SOAPUI, while testing mock services with payload we are getting JVM Heap size issue (out of memory error).
PFA the logs for more details on error we are getting.

JVM is increase to 3072MB to overcome it, but the issue is still there:
• JAVA_OPTS="-Xms3072m -Xmx3072m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home=$SOAPUI_HOME/bin"

ERROR Details:

2012-03-20 08:43:22,987 INFO [AbstractHttpRequestDesktopPanel] Got response for [ImportedUnplannedMaintenanceServiceSoapHttp.QueryImportedUnplannedMaintenance:Request 1] in 10477ms (23619633 bytes)
2012-03-20 08:43:48,783 ERROR [SoapUI] An error occured [Java heap space], see error log for details
2012-03-20 08:43:48,783 ERROR [errorlog] java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at org.apache.xmlbeans.impl.store.Saver$InputStreamSaver$OutputStreamImpl.resize(Saver.java:2626)
at org.apache.xmlbeans.impl.store.Saver$InputStreamSaver$OutputStreamImpl.write(Saver.java:2587)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)

Any solution to the issue or workaround will be very helpful.

4 Replies