Friday, September 18, 2015

How to fix the memory leak problem in JMeter performance testing?

When JMeter is running heavy load testing with HTTP(S) sampler, sometimes, you will met some very painful issue, you test is freezed and no responding.  This could be the CPU and memory are consumed too much during your load test.  How to solve this issue:

  1. use non-GUI mode
  2.  remove or disable unnecessary listeners. Such as  “View Results Tree”
  3. Increase the JMeter heap memory:
  •  Open the ‘JMeter.bat’ file with a text editor
  •   Find “set HEAP”
  •  Modify the Heap value to whatever you like. Like this
       
 
this link is good for learning more.

No comments:

Post a Comment