You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Kirk Pepperdine <ki...@gmail.com> on 2012/08/28 09:21:40 UTC

Re: OutOfMemoryError: Java heap space

-Xmx4g


On 2012-08-28, at 8:20 AM, "Samaraweera, Ravinda" <ra...@kpmg.com> wrote:

> Dear Kirk,
> 
> Thanks for prompt reply.
> 
> I had run 700+ requests (5 threads, 5 http requests, for 3 minutes),
> Could you guide me with how to configure heap etc..
> 
> Thanks,
> 
> -----Original Message-----
> From: Kirk Pepperdine [mailto:kirk.pepperdine@gmail.com] 
> 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"
> <ra...@kpmg.com> 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: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 
> ***********************************************************************
> 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: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org