There are couple of things you can try to negate this.

Keep the test plan simple, do not add too many unwanted listners as this would 
take away lot of memory locally during run time.
Increase this heap size from systems.properties file , there is already a lot 
of ans posted on how to do this via jmeter forums.
If the above doesn't solve your problem due to extensive load test harness, you 
can give a try using distributed load testing process.


NK

-----Original Message-----
From: Kirk Pepperdine [mailto:[email protected]]
Sent: Tuesday, August 28, 2012 12:43 PM
To: JMeter Users List
Subject: Re: OutOfMemoryError: Java heap space

Just like it says, your JVM has run out of memory. Why? could be a number of 
reasons... the first being that you simply didn't configure enough to run your 
tests.

JMeter heap usage will not stabilize because during a run JMeter accumulates 
results. If you have a long run you'd better use a very large heap.

-- Kirk

On 2012-08-28, at 8:08 AM, "Samaraweera, Ravinda" <[email protected]> 
wrote:

> Dear All,
>
> What is the cause for following error?
>
> 2012/08/28 12:27:47 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: Java heap space
>
> Thanks,
> Chi.
>
> ***********************************************************************
> Disclaimer
>
> The information contained in this communication is confidential and may be 
> legally privileged.
> It is intended solely for the use of the individual or entity to whom it is 
> addressed and others authorised to receive it.
> If you are not the intended recipient you are hereby notified that any 
> disclosure, copying,
> distribution or taking action in reliance of the contents of this information 
> is strictly prohibited and may be unlawful.
> KPMG is neither liable for the proper,
> complete transmission of the information contained in this communication nor 
> any delay in its receipt.
> ***********************************************************************
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Information contained and transmitted by this e-mail is confidential and 
proprietary to iGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or [email protected]. iGATE does not enter into any agreement 
with any party by e-mail. Any views expressed by an individual do not 
necessarily reflect the view of iGATE. iGATE is not responsible for the 
consequences of any actions taken on the basis of information provided, through 
this email. The contents of an attachment to this e-mail may contain software 
viruses, which could damage your own computer system. While iGATE has taken 
every reasonable precaution to minimise this risk, we cannot accept liability 
for any damage which you sustain as a result of software viruses. You should 
carry out your own virus checks before opening an attachment. To know more 
about iGATE please visit www.igate.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to