I am trying to install SOAPUI
tool. After the installation, when executed, I amm getting this error:
The JVM could not be started. The maximum heap size (-XMx) might be too large or anti virus or firewall tool could block the execution
When installed to a different machine, it works fine.
Any suggestions?
"The JVM could not be started. The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution". If you get this error, first, make sure your antivirus software or firewall is not blocking the execution of ReadyAPI, then do the following: 1.
The default Java heap size is 1280 MB, which supports fewer than 75,000 pairs. If you increase the Java heap size by 256 MB, support increases by 25,000 pairs. You can continue to increase the Java heap size until you reach the maximum heap size.
This problem occurs because Soap Ui tries to get the specified amount of memory in form of single block which is rarely available. So solution to this problem is navigate to soapUi.x.x.x.vmoption file which can be found in
c->program files-> emiware -> soapUi.x.x.x ->bin
edit this file and make the -Xms to something lesser default value is 1200m make it 512m if does not work change it some to a lesser value.
PS x.x.x. is the version of SoapUI in my case its 4.0.0
-Xms means initial heap size.
-Xmx means maximum heap size.
So you can set values as per your requirement.
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