Deepak, I have been playing with it. Now, what I do is to execute jmeter.bat to open up jmeter, then pull up my test plan and do not get anymore errors. If I execute jmeter icon linked to the ApacheJMeter.jar, that is the time I got the OutOfMemory error.
I just do not understand the reason for executing ApacheJMeter.jar to get outofMemory error. Is there a way for me to set up ApacheJMeter.jar to use jmeter.bat? Thanks. Patty Re: OutOfMemoryError: Java heap space Deepak Shetty to: JMeter Users List 07/28/2010 03:10 PM Please respond to "JMeter Users List" http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean Are you running in GUI mode, if so dont? Did you verify your changes got picked correctly (java process should show 2GB being used) regards deepak On Wed, Jul 28, 2010 at 2:58 PM, <patty.w...@sybase.com> wrote: > Hi, > > When I set the number of threads up to 120, the plan runs well without > issues. However, when I set the number of threads to 130, I will have the > following error in the jmeter.log: > > > ERROR - jmeter.threads.JMeterThread: Test failed! > java.lang.OutOfMemoryError: Java heap space > > > I have changed HEAP settings in jmeter.bat from > > -Xms512m -Xmx512m > > to > > -Xms2048m -Xmx2048m > > > but still cannot get rid of the error. > > > > > > Any suggestions? Thank you. > > Patty