cancel
Showing results for 
Search instead for 
Did you mean: 

soapUI Pro 4.6.0 java.lang.OutOfMemoryError

SOLVED
Highlighted
Occasional Contributor

soapUI Pro 4.6.0 java.lang.OutOfMemoryError

1. Just installed soapUi Pro 4.6.0

2.Getting the java.lang.OutOfMemoryError when I try to start the soapUI Pro 4.6.0

3. Tried to increase the Xmz size as below -

-Xms1024m

-Xmx4096m

4. But now I get the JVM could not be started. The maximum heap size(-Xmx) might be too large ERROR.

5. Any way to get around this problem ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Finally SOAP Pro works for me - after doing the following size

 

-Xms1024m

-Xmx2048m

 

 

View solution in original post

9 REPLIES 9
Highlighted
Community Manager

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Hi Ab28,

 

I would suggest that you consider moving to Ready! API. This product includes the improved version of SoapUI – SoapUI NG. As you have a license for SoapUI Pro, you should also have a license for Ready! API.

 

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Community Hero

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Please look at @TanyaGorbunova's advise. Just Out-Of-MemoryError does not help unless you specify more about the usage and stacktrace.


Regards,
Rao.
Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Memory Usage is fine as I have 8G RAM.

 

Complete Error as below -

 

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.StringBuilder.append(Unknown Source)
at com.eviware.soapui.impl.support.loadsave.SplitProject.a(SourceFile:768)
at com.eviware.soapui.impl.support.loadsave.SplitProject.a(SourceFile:722)
at com.eviware.soapui.impl.support.loadsave.SplitProject.load(SourceFile:689)
at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.handleFile(SourceFile:42)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:124)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:98)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(SourceFile:193)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:244)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(SourceFile:180)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:53)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:16)
at com.eviware.soapui.impl.WorkspaceImpl.loadWorkspace(WorkspaceImpl.java:175)
at com.eviware.soapui.impl.WorkspaceImpl.<init>(WorkspaceImpl.java:87)
at com.eviware.soapui.impl.WorkspaceFactoryImpl.openWorkspace(WorkspaceFactoryImpl.java:32)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:811)
at com.eviware.soapui.SoapUIPro.a(SourceFile:223)
at com.eviware.soapui.SoapUIPro$SoapUIProRunner.run(SourceFile:1808)
at com.eviware.soapui.SoapUIPro.main(SourceFile:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Yes we are using Ready API too - Thanks

Highlighted
Community Hero

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Thank you for the stacktrace. What I mean by usage is that how big the project is ? how many projects in the workspace? some times even bad code might take to that error. How frequently the problem occurs?


Regards,
Rao.
Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Ready! API loads up all the time.

 

SoapUI Pro 4.6.0 OR Soap UI Pro 4.5.1 have both FAILED to OPEN ever since I installed them yesterday.

 

Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Finally SOAP Pro works for me - after doing the following size

 

-Xms1024m

-Xmx2048m

 

 

View solution in original post

Highlighted
Community Hero

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Little surprised that you had problem with 4GB and resolved with 2GB.


Regards,
Rao.
Highlighted
Occasional Contributor

Re: soapUI Pro 4.6.0 java.lang.OutOfMemoryError

Not surprising. I got the following Error when Xmx was 4096. 

 

The maximum heap size(-Xmx) might be too large.

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Filtering data retrieved from a DataSource

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors