Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting JVM error after SOAP UI installation

Tags:

java

jvm

soapui

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?

like image 982
Piyush Avatar asked Oct 03 '12 14:10

Piyush


People also ask

How do you fix JVM could not be started?

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

What is Java heap size?

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.


1 Answers

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.

like image 124
ankit Avatar answered Sep 22 '22 01:09

ankit