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?
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.