JMeter Out Of Memory: 12 Actionable Fixes
If you're here, it's because you've probably experienced Java Heap Space exceptions while running JMeter. Isn't it?
JMeter Out Of Memory exceptions happen during a heavy load tests, with the following log lines appearing in jmeter.log
:
2017/10/01 13:35:16 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space
It can also be a message like Unable to create new native Thread
. Don't panic!
You'll learn 12 ways to get ride of memory issues and get a better understanding of how the JVM works.