jmeter启动报错Error occurred during initialization of VM Could not reserve enough space for object heap

时间:2024-03-17 13:38:13

jmeter启动报错Picked up _JAVA_OPTIONS: -Xmx512M Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size errorlevel=1的解决方法

刚才启动jmeter,遇到这个问题,之前都是正常的

不多说,jmeter启动报错
Picked up _JAVA_OPTIONS: -Xmx512M Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size errorlevel=1
解决方法:

1、右键打开jmeter.bat,查找set HEAP,如图(已修改),将set HEAP=-Xms128m -Xmx512m修改为set HEAP=-Xms512m -Xmx512m
jmeter启动报错Error occurred during initialization of VM Could not reserve enough space for object heap
保存再次打开就ok了