I am encountering OutOfMemoryError in JMeter after running for a period of time.
This can be fixed by changing the parameter in Jmeter.bat or jmeter.sh.
The heap value needs to be increased. I tried increasing it too 2GB but it started giving me another error.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
errorlevel=1
Press any key to continue . . .
So i kept it to 1 GB for smooth operation and even i removed unwanted listeners from it.
Listeners consumes lot of memory. So we need to be cognitive of them.

No comments:
Post a Comment