Hi, I've been having this same problem. This is how I fixed it: 1. Open up the jmeter.bat file in the bin folder with a text editor. Increase the heap space set at line starting: set HEAP=-Xms512m -Xmx512m. (i have set mine to: set HEAP=-Xms1550m -Xmx1550m). 2. Remove all listeners and debugging tools (i.e. graphs, summary reports, view results tree/ table etc..) from your JMeter test plan. 3. Split out your JMeter test into more JMeter instances. I.e. if you have 400 threads running with 1 instance, split this into 2 x 200 thread instances. 4. Increase the RAM in your PC. 5. Run JMeter in non-GUI mode (which I think you're doing already).
These have worked for me! Jamie. -----Original Message----- From: Flavio Cysne [mailto:[email protected]] Sent: 13 March 2015 15:33 To: JMeter Users List Subject: Re: Jmeter and heap dump on out of memory Execute a df -h to see if you still have HD to store JMeter resulta file, because HeapDump generates a huge file in your filesystem. Maybe the number of threads you are starting in this machine is too much for it. Another approach is to use -XX:AggressiveHeap (jdk 6-) or -XX:AggressiveOpts (jdk7+) instead of default JMeter -Xms and -Xmx options. Em 13/03/2015 12:19, "RPh on yahoo" <[email protected]> escreveu: > Hello, > > I run my jmeter tests from a shell script on linux. The shell script > basically loops through many jmeter jmx files. > > Often, I see heapdump messages, which I guess mean out of memory. > My jmeter shell script, default that comes with jmeter install, > contains DUMP="-XX:+HeapDumpOnOutOfMemoryError" so I guess this is > what causes the message to appear in my linux session window. > > I guess I'm ok with the heapdump message appearing, but I do not know > how to fix. > > > My question is when the heap dump occurs, does it mean that the jmeter > test stops completely, or does the jmeter test pause until more memory > is available? > > Any help is so appreciated. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ---------------------------------------------------------------------- ---- This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify FDB Support ([email protected]) immediately by e-mail and delete the original message. ----------------------------------------------------------------------
