SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large

SoapUI启动的时候,报如题错误,经过排查,在安装目录\bin\下,找到SoapUI的*.vmoptions参数配置文件,我的是SoapUI-5.2.1.vmoptions

打开发现-Xmx参数配置,将默认值改小一些即可:

[plain]  view plain  copy
  1. -Xms128m  
  2. -Xmx800m  
  3. -Dsoapui.properties=soapui.properties  
  4. -Dsoapui.home=D:\software\SmartBear\SoapUI-5.0.0/bin  
  5. -Dsoapui.ext.libraries=D:\software\SmartBear\SoapUI-5.0.0/bin/ext  
  6. -Dsoapui.ext.listeners=D:\software\SmartBear\SoapUI-5.0.0/bin/listeners  
  7. -Dsoapui.ext.actions=D:\software\SmartBear\SoapUI-5.0.0/bin/actions  
  8. -Dwsi.dir=D:\software\SmartBear\SoapUI-5.0.0/wsi-test-tools  
  9. -Djava.library.path=D:\software\SmartBear\SoapUI-5.0.0/bin  
  10. -Djava.util.Arrays.useLegacyMergeSort=true  
  11. -splash:soapui-splash.png  

以上配置,将默认-Xmx值改成800,启动成功

你可能感兴趣的:(SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large)