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

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

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

-Xms128m
-Xmx800m
-Dsoapui.properties=soapui.properties
-Dsoapui.home=D:\software\SmartBear\SoapUI-5.0.0/bin
-Dsoapui.ext.libraries=D:\software\SmartBear\SoapUI-5.0.0/bin/ext
-Dsoapui.ext.listeners=D:\software\SmartBear\SoapUI-5.0.0/bin/listeners
-Dsoapui.ext.actions=D:\software\SmartBear\SoapUI-5.0.0/bin/actions
-Dwsi.dir=D:\software\SmartBear\SoapUI-5.0.0/wsi-test-tools
-Djava.library.path=D:\software\SmartBear\SoapUI-5.0.0/bin
-Djava.util.Arrays.useLegacyMergeSort=true
-splash:soapui-splash.png
以上配置,将默认-Xmx值改成800,启动成功

0 个评论

要回复文章请先登录注册