I'm using SoapUI 5.4.0 in my MacBook Pro with macOS High Sierra (10.13.3).
The application works very slow (especially the graphics) and sometimes it hang on and I need to force restart.
Can someone help me?
Show Package Contents
.Contents/java/app/bin
path and locate soapui.sh
file.# JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true"
.You have to disable the browser component of SoapUI. (The thing that is displaying the those valuable product information all the time.)
To do so set the system property soapui.browser.disabled=true
.
A detailed how-to can be found here: http://shariati.me/how-to-fix-soapui-speed-issue-on-macos/
Suggest you to increase the heap size for the tool. Here is the documentation for your reference.
SoapUI is rather memory intensive, especially with default settings for logging, etc. If you are running more lengthy functional tests or load tests you might well bump into an OutOfMemory error. Fortunately, there are several things that can be done to minimize the risk for running into this error.
1. Adjust Memory Settings
This doesn't really solve the underlying problem, but if you have large WSDLs, requests, attachments, etc the default settings in "bin\soapui.bat", "bin\soapui.sh", "bin\soapUI-Pro-5.2.0.vmoptions" for Windows or "Contents/vmoptions.txt" for Mac won't be sufficient.
Open the corresponding file in a text editor and change the line
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m -Dsoapui.properties=soapui.properties
to use higher values for the max allocated size, for example:set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx768m -Dsoapui.properties=soapui.properties
The exact value is hard to say, it depends of course on your system setup, other applications running, etc. You can set it to half the amount of available memory, for example on a machine with 2 GB of ram that would be 1024. Remember that if you are running a 32-bit operating system (for example Windows XP), then you wont be able to allocate more than approximately 1.5Gb, so there is no use in setting the value higher then that.
If you run into PermGen errors (for example if you are using a lot of groovy scripts), then you might need to adjust that setting as well, add a-XX:MaxPermSize
setting to the above line:set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m -Dsoapui.properties=soapui.properties
If you want to dig into all possible memory-related options, check out Joe Mocker's Collection of JVM Options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With