When running JMeter, java server has the -Xmx value of only 512 MB. I tried to change it via following code in the jmeter.bat.sh file.
set HEAP=-server -Xms512m -Xmx6144m
set NEW=-XX:NewSize=512m -XX:MaxNewSize=6144m
also tried this:
set HEAP= -Xms512m -Xmx6144m
set NEW=-XX:NewSize=512m -XX:MaxNewSize=6144m
By checking the process after while JMeter is running I can see that java -sever doesn't recognize this setting.
If you are running
jmeter
startup script on Linux the syntax will be different, i.e:as SET command is something Windows-specific
Alternatively you can define
JVM_ARGS
environment variable value like:this way you won't need to edit files and/or restart JMeter.
Finally, you can launch JMeter jar directly like:
See the following reference material: