Forum Discussion

Liberty_Informa's avatar
Liberty_Informa
Regular Contributor
13 years ago

Java Heap size

Hi

We run our soapUI test suits on a slice which has 8GB RAM and 88 GB hard disk. Many times soapUI hangs and we need to end the process forcefully. We do not have heavy test projects. All projects are average 30 test cases comprising each test case as 3 steps. We have 12 projects at moment.

What should be the ideal Java heap size setting so that we can avoid the hanging of the tool. Where should we make changes?

Your help is appreciated.

3 Replies

  • Hi,

    hmm.. can you attach the soapui-errors.log file in your soapUI\bin folder so we can try to figure out if anything is causing this!?

    the heapsize should definitely be ok at 1024M - do you get these crashes after running your tests repeatedly? What does the memory curve look like in the "memory log" tab at the bottom of the main soapUI window!?

    regards,

    /Ole
    SmartBear Software
  • Liberty_Informa's avatar
    Liberty_Informa
    Regular Contributor
    Hi Ole

    I experienced the same error when I try to import soapUI project.

    Please find error log and memory log.





    In some other instances soapUI crashes when I try to open soapUI project having 21 test suits. I can not capture logs at that moment as I need to kill the soapUI process to work again.

    I see following entry in the testrunner.bat file

    rem JVM parameters, modify as appropriate
    set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\"

    I hope it helps.
  • Hi,

    you can try increasing the -Xmx value to around 1300; if you are running a 64-bit JRE you can increase the value even more..

    but it would be interesting to try to reproduce this - can you zip and share one of these project files!?

    regards,

    /Ole
    SmartBear Software