Forum Discussion

AB28's avatar
AB28
Occasional Contributor
9 years ago

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 ?

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

     

    -Xms1024m

    -Xmx2048m

     

     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    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.

     

    • AB28's avatar
      AB28
      Occasional Contributor

      Yes we are using Ready API too - Thanks

  • nmrao's avatar
    nmrao
    Champion Level 3
    Please look at TanyaYatskovska's advise. Just Out-Of-MemoryError does not help unless you specify more about the usage and stacktrace.
    • AB28's avatar
      AB28
      Occasional Contributor

      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)

      • nmrao's avatar
        nmrao
        Champion Level 3
        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?