How we can remove the heap error or java.lang.outofmemory error in Jmeter?
Recently when i was performing performance testing of a web based application, even after doing all settings to remove heap error, i got this error. I was wondered, why this error occurred again, when i was done with necessary changes to the properties files in jmeter.
I checked the script again, but no solution was there. Then i rechecked the properties file, and there i came across to know that we do need to change the properties in jmeter report.bat file too. Because if the heap size in report remain same means less, it will cause problem when we will run test for large number of users.
So do the changes in Jmeter-report.bat file.
As you can see the image, it is after updating the properties.
Also if you dont want to see this king of error, run jmeter in non-gui mode.
My next post will be on the same.
No comments:
Post a Comment