When you are unable to add largeer messages in JMETER, and you get the following error:
then you need to increase the standard setting of HEAP in jmeter.bat
FROM: set HEAP=-Xms512m -Xmx512m
TO : set HEAP=-Xms512m -Xmx1024m
For example: if you want to set the maximum heap size to 4 gigabytes, you’ll need to change the line to: HEAP="-Xms512m -Xmx4096m"
another efficient way to execute script is:
You can execute JMeter test from the command line. It is as simple as
jmeter -n -t Rahulstest script_number202.jmx
then you need to increase the standard setting of HEAP in jmeter.bat
FROM: set HEAP=-Xms512m -Xmx512m
TO : set HEAP=-Xms512m -Xmx1024m
For example: if you want to set the maximum heap size to 4 gigabytes, you’ll need to change the line to: HEAP="-Xms512m -Xmx4096m"
another efficient way to execute script is:
You can execute JMeter test from the command line. It is as simple as
jmeter -n -t Rahulstest script_number202.jmx