You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Samaraweera, Ravinda" <ra...@kpmg.com> on 2012/08/28 09:08:45 UTC

OutOfMemoryError: Java heap space

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.
***********************************************************************


Re: OutOfMemoryError: Java heap space

Posted by Kirk Pepperdine <ki...@gmail.com>.
-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


RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
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


RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
Thanks, il check the same.

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com] 
Sent: Tuesday, August 28, 2012 12:49 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space 

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: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


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 mailadmin@igate.com.
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: 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


RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
Thanks, will try with the same

-----Original Message-----
From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com] 
Sent: Tuesday, August 28, 2012 12:52 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space 

With heap size set to 1560M, it can support about 500 users.
(Every thread will have 17 transactions and about 120 HTTP request)

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com]
Sent: Tuesday, August 28, 2012 3:19 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

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: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


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 mailadmin@igate.com.
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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to
ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. No
representation is made on its accuracy or completeness of the
information contained in this electronic message. Certain assumptions
may have been made in the preparation of this material as at this date,
and are subject to change without notice. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this e-mail and any attachment(s) is strictly prohibited.
Please reply to the sender at NextLabs Inc and destroy all copies of
this message and any attachments from your system.
======================================================================
***********************************************************************
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


RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
Hi Jim,

IT works for me now in this way, my jmeter.bat file had 512, I change it
to 512*2=1024 , i.e. heap changed to 1024m, now it works.

I have no idea about system. Properties file. thx 

-----Original Message-----
From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com] 
Sent: Tuesday, August 28, 2012 2:53 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space 

How many memory that your machine has?
I set the memory by changing the jmeter.bat.

Somebody said that it can be done via set system.properties. But I don't
know how.


-----Original Message-----
From: Samaraweera, Ravinda [mailto:ravindasamaraweera@kpmg.com]
Sent: Tuesday, August 28, 2012 4:46 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

Is there any other place to change heap value other than jmeter.bat
file?
Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m
-Xmx1560m it gives an error, I can run jmeter.bat file even, it exits
Why is that?

-----Original Message-----
From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com]
Sent: Tuesday, August 28, 2012 12:52 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

With heap size set to 1560M, it can support about 500 users.
(Every thread will have 17 transactions and about 120 HTTP request)

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com]
Sent: Tuesday, August 28, 2012 3:19 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

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: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


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 mailadmin@igate.com.
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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to
ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. No
representation is made on its accuracy or completeness of the
information contained in this electronic message. Certain assumptions
may have been made in the preparation of this material as at this date,
and are subject to change without notice. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this e-mail and any attachment(s) is strictly prohibited.
Please reply to the sender at NextLabs Inc and destroy all copies of
this message and any attachments from your system.
======================================================================
***********************************************************************
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


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to
ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. No
representation is made on its accuracy or completeness of the
information contained in this electronic message. Certain assumptions
may have been made in the preparation of this material as at this date,
and are subject to change without notice. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this e-mail and any attachment(s) is strictly prohibited.
Please reply to the sender at NextLabs Inc and destroy all copies of
this message and any attachments from your system.
======================================================================
***********************************************************************
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


RE: OutOfMemoryError: Java heap space

Posted by "Jim (Jiemin) Jin" <Ji...@cn.nextlabs.com>.
How many memory that your machine has?
I set the memory by changing the jmeter.bat.

Somebody said that it can be done via set system.properties. But I don't know how.


-----Original Message-----
From: Samaraweera, Ravinda [mailto:ravindasamaraweera@kpmg.com]
Sent: Tuesday, August 28, 2012 4:46 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

Is there any other place to change heap value other than jmeter.bat file?
Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m -Xmx1560m it gives an error, I can run jmeter.bat file even, it exits Why is that?

-----Original Message-----
From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com]
Sent: Tuesday, August 28, 2012 12:52 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

With heap size set to 1560M, it can support about 500 users.
(Every thread will have 17 transactions and about 120 HTTP request)

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com]
Sent: Tuesday, August 28, 2012 3:19 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

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: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


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 mailadmin@igate.com.
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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. No representation is made on its accuracy or completeness of the information contained in this electronic message. Certain assumptions may have been made in the preparation of this material as at this date, and are subject to change without notice. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited.
Please reply to the sender at NextLabs Inc and destroy all copies of this message and any attachments from your system.
======================================================================
***********************************************************************
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


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. No representation is made on its accuracy or completeness of the information contained in this electronic message. Certain assumptions may have been made in the preparation of this material as at this date, and are subject to change without notice. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. Please reply to the sender at NextLabs Inc and destroy all copies of this message and any attachments from your system. ======================================================================

RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
Thanks , it is good to know these and adhere to the same

-----Original Message-----
From: Philippe Mouawad [mailto:p.mouawad@ubik-ingenierie.com] 
Sent: Tuesday, August 28, 2012 4:37 PM
To: JMeter Users List
Subject: Re: OutOfMemoryError: Java heap space

Also before changing Heap Size ensure you are respecting JMeter best
practices:
http://jmeter.apache.org/usermanual/best-practices.html

16.6 : Reducing resource requirements

And particularly avoid using Tree Result listener during real load test,
use it only for debuging and checking your script with one or 2 users.

Regards
Philippe M.
http://www.ubik-ingenierie.com/-Solutions-

On Tue, Aug 28, 2012 at 12:52 PM, Lance Ingram <la...@gmail.com>wrote:

> You haven't configured in your heap "XX:MaxPermSize=512m" value this
> indicates the amount of Heap Size for JVM
>
> On Tue, Aug 28, 2012 at 10:45 AM, Samaraweera, Ravinda <
> ravindasamaraweera@kpmg.com> wrote:
>
> > Is there any other place to change heap value other than jmeter.bat
> > file?
> > Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m
> > -Xmx1560m it gives an error, I can run jmeter.bat file even, it exits
> > Why is that?
> >
> > -----Original Message-----
> > From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com]
> > Sent: Tuesday, August 28, 2012 12:52 PM
> > To: JMeter Users List
> > Subject: RE: OutOfMemoryError: Java heap space
> >
> > With heap size set to 1560M, it can support about 500 users.
> > (Every thread will have 17 transactions and about 120 HTTP request)
> >
> > -----Original Message-----
> > From: Naresh Kumar [mailto:naresh.kumar@igate.com]
> > Sent: Tuesday, August 28, 2012 3:19 PM
> > To: JMeter Users List
> > Subject: RE: OutOfMemoryError: Java heap space
> >
> > 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: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
> >
> >
> > 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 mailadmin@igate.com.
> > 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: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the Symantec Email Security.cloud
> > service.
> > ______________________________________________________________________
> > This email has been inspected by NextLabs' Outlook Policy Enforcer to
> > ensure compliance
> >
> >  ---------------------------------------------------------------------
> > STATEMENT OF CONFIDENTIALITY
> >
> > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s)
> > and may contain confidential or privileged information. No
> > representation is made on its accuracy or completeness of the
> > information contained in this electronic message. Certain assumptions
> > may have been made in the preparation of this material as at this date,
> > and are subject to change without notice. If you are not the intended
> > recipient, you are hereby notified that any dissemination, distribution
> > or copying of this e-mail and any attachment(s) is strictly prohibited.
> > Please reply to the sender at NextLabs Inc and destroy all copies of
> > this message and any attachments from your system.
> > ======================================================================
> > ***********************************************************************
> > 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
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
***********************************************************************
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


Re: OutOfMemoryError: Java heap space

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Also before changing Heap Size ensure you are respecting JMeter best
practices:
http://jmeter.apache.org/usermanual/best-practices.html

16.6 : Reducing resource requirements

And particularly avoid using Tree Result listener during real load test,
use it only for debuging and checking your script with one or 2 users.

Regards
Philippe M.
http://www.ubik-ingenierie.com/-Solutions-

On Tue, Aug 28, 2012 at 12:52 PM, Lance Ingram <la...@gmail.com>wrote:

> You haven't configured in your heap "XX:MaxPermSize=512m" value this
> indicates the amount of Heap Size for JVM
>
> On Tue, Aug 28, 2012 at 10:45 AM, Samaraweera, Ravinda <
> ravindasamaraweera@kpmg.com> wrote:
>
> > Is there any other place to change heap value other than jmeter.bat
> > file?
> > Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m
> > -Xmx1560m it gives an error, I can run jmeter.bat file even, it exits
> > Why is that?
> >
> > -----Original Message-----
> > From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com]
> > Sent: Tuesday, August 28, 2012 12:52 PM
> > To: JMeter Users List
> > Subject: RE: OutOfMemoryError: Java heap space
> >
> > With heap size set to 1560M, it can support about 500 users.
> > (Every thread will have 17 transactions and about 120 HTTP request)
> >
> > -----Original Message-----
> > From: Naresh Kumar [mailto:naresh.kumar@igate.com]
> > Sent: Tuesday, August 28, 2012 3:19 PM
> > To: JMeter Users List
> > Subject: RE: OutOfMemoryError: Java heap space
> >
> > 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: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
> >
> >
> > 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 mailadmin@igate.com.
> > 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: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the Symantec Email Security.cloud
> > service.
> > ______________________________________________________________________
> > This email has been inspected by NextLabs' Outlook Policy Enforcer to
> > ensure compliance
> >
> >  ---------------------------------------------------------------------
> > STATEMENT OF CONFIDENTIALITY
> >
> > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s)
> > and may contain confidential or privileged information. No
> > representation is made on its accuracy or completeness of the
> > information contained in this electronic message. Certain assumptions
> > may have been made in the preparation of this material as at this date,
> > and are subject to change without notice. If you are not the intended
> > recipient, you are hereby notified that any dissemination, distribution
> > or copying of this e-mail and any attachment(s) is strictly prohibited.
> > Please reply to the sender at NextLabs Inc and destroy all copies of
> > this message and any attachments from your system.
> > ======================================================================
> > ***********************************************************************
> > 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
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie

Re: OutOfMemoryError: Java heap space

Posted by Lance Ingram <la...@gmail.com>.
You haven't configured in your heap "XX:MaxPermSize=512m" value this
indicates the amount of Heap Size for JVM

On Tue, Aug 28, 2012 at 10:45 AM, Samaraweera, Ravinda <
ravindasamaraweera@kpmg.com> wrote:

> Is there any other place to change heap value other than jmeter.bat
> file?
> Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m
> -Xmx1560m it gives an error, I can run jmeter.bat file even, it exits
> Why is that?
>
> -----Original Message-----
> From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com]
> Sent: Tuesday, August 28, 2012 12:52 PM
> To: JMeter Users List
> Subject: RE: OutOfMemoryError: Java heap space
>
> With heap size set to 1560M, it can support about 500 users.
> (Every thread will have 17 transactions and about 120 HTTP request)
>
> -----Original Message-----
> From: Naresh Kumar [mailto:naresh.kumar@igate.com]
> Sent: Tuesday, August 28, 2012 3:19 PM
> To: JMeter Users List
> Subject: RE: OutOfMemoryError: Java heap space
>
> 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: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
>
>
> 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 mailadmin@igate.com.
> 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: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud
> service.
> ______________________________________________________________________
> This email has been inspected by NextLabs' Outlook Policy Enforcer to
> ensure compliance
>
>  ---------------------------------------------------------------------
> STATEMENT OF CONFIDENTIALITY
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s)
> and may contain confidential or privileged information. No
> representation is made on its accuracy or completeness of the
> information contained in this electronic message. Certain assumptions
> may have been made in the preparation of this material as at this date,
> and are subject to change without notice. If you are not the intended
> recipient, you are hereby notified that any dissemination, distribution
> or copying of this e-mail and any attachment(s) is strictly prohibited.
> Please reply to the sender at NextLabs Inc and destroy all copies of
> this message and any attachments from your system.
> ======================================================================
> ***********************************************************************
> 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
>
>

RE: OutOfMemoryError: Java heap space

Posted by "Samaraweera, Ravinda" <ra...@kpmg.com>.
Is there any other place to change heap value other than jmeter.bat
file?
Coz when I change it , set HEAP=-Xms512m -Xmx512m to set HEAP=-Xms1560m
-Xmx1560m it gives an error, I can run jmeter.bat file even, it exits
Why is that?

-----Original Message-----
From: Jim (Jiemin) Jin [mailto:Jim.Jin@cn.nextlabs.com] 
Sent: Tuesday, August 28, 2012 12:52 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space 

With heap size set to 1560M, it can support about 500 users.
(Every thread will have 17 transactions and about 120 HTTP request)

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com]
Sent: Tuesday, August 28, 2012 3:19 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

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: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


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 mailadmin@igate.com.
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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to
ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. No
representation is made on its accuracy or completeness of the
information contained in this electronic message. Certain assumptions
may have been made in the preparation of this material as at this date,
and are subject to change without notice. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this e-mail and any attachment(s) is strictly prohibited.
Please reply to the sender at NextLabs Inc and destroy all copies of
this message and any attachments from your system.
======================================================================
***********************************************************************
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


RE: OutOfMemoryError: Java heap space

Posted by "Jim (Jiemin) Jin" <Ji...@cn.nextlabs.com>.
With heap size set to 1560M, it can support about 500 users.
(Every thread will have 17 transactions and about 120 HTTP request)

-----Original Message-----
From: Naresh Kumar [mailto:naresh.kumar@igate.com]
Sent: Tuesday, August 28, 2012 3:19 PM
To: JMeter Users List
Subject: RE: OutOfMemoryError: Java heap space

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: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


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 mailadmin@igate.com. 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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. No representation is made on its accuracy or completeness of the information contained in this electronic message. Certain assumptions may have been made in the preparation of this material as at this date, and are subject to change without notice. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. Please reply to the sender at NextLabs Inc and destroy all copies of this message and any attachments from your system. ======================================================================

RE: OutOfMemoryError: Java heap space

Posted by Naresh Kumar <na...@igate.com>.
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: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


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 mailadmin@igate.com. 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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: OutOfMemoryError: Java heap space

Posted by Kirk Pepperdine <ki...@gmail.com>.
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


RE: OutOfMemoryError: Java heap space

Posted by "Jim (Jiemin) Jin" <Ji...@cn.nextlabs.com>.
There are too many threads to run which lead the memory out.


-----Original Message-----
From: Samaraweera, Ravinda [mailto:ravindasamaraweera@kpmg.com]
Sent: Tuesday, August 28, 2012 3:09 PM
To: JMeter Users List
Subject: OutOfMemoryError: Java heap space

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.
***********************************************************************

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
This email has been inspected by NextLabs' Outlook Policy Enforcer to ensure compliance

 ---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. No representation is made on its accuracy or completeness of the information contained in this electronic message. Certain assumptions may have been made in the preparation of this material as at this date, and are subject to change without notice. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. Please reply to the sender at NextLabs Inc and destroy all copies of this message and any attachments from your system. ======================================================================

Re: OutOfMemoryError: Java heap space

Posted by Rodrigo Ramos <cr...@gmail.com>.
Sometime I tune Jmeter options like:

JVM_ARGS="-Xms1024m -Xmx1024m -XX:+UseParallelGC -Xss1024k
-XX:TenuredGenerationSizeIncrement=1m"

Greetings

2012/8/28 Samaraweera, Ravinda <ra...@kpmg.com>

> 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.
> ***********************************************************************
>
>