You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by b4d93r <b4...@gmail.com> on 2007/09/26 19:14:28 UTC
Out of Memory errors
Good day everyone!
When running JMeter, I eventually get "Out of Memory" errors showing up in
the command window. I was wondering if anyone else has experienced this and
what you did to correct it.
Here is some other information that could be helpful.
Jmeter v2.3RC4
Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
JRE client on all three machines: jre-6u2
I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
with a load balancer. Is there anything simple I can do like adjust the
paging file to help fix this?
Thanks!
Steve
--
View this message in context: http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Out of Memory errors
Posted by b4d93r <b4...@gmail.com>.
"-XX:newSize=NNNm which sets the default size for new generation to NNN
Mbytes "
Not sure I understand this part David. Could you elaborate a little more
please? Do I need to change anything here?
Thanks!
Steve
David Schulberg-3 wrote:
>
> Hi All,
>
> In jmeter.bat
>
> Xms - sets initial java heap size
> Xmx - sets maximum java heap size
>
> So typically you would set Xmx > Xms
>
> Also note the setting
>
> -XX:newSize=NNNm which sets the default size for new generation to NNN
> Mbytes
>
>
> David Schulberg
>
> Object Consulting | Senior Consultant
> email: david.schulberg@objectconsulting.com.au
> ----------------------------------------------------------------
> consulting | development | training | support
> our experience makes the difference
>
> ________________________________
>
> From: b4d93r [mailto:b4d93r@gmail.com]
> Sent: Thu 27/09/2007 8:38 AM
> To: jmeter-user@jakarta.apache.org
> Subject: Re: Out of Memory errors
>
>
>
>
> I discovered this was also a double post. Apparently there was another one
> that address this farther down the list. I'm not sure why my search didn't
> find it. My apologies for the double post. %-|
>
> Thanks for your reply Frank! I did find the answer to this while searching
> some more on Google. However your reply has me wondering, do I need to
> adjust both the Xms and Xmx to the same size or just the Xmx? :confused:
>
> Thanks!
> Steve
>
>
> Frank.G.Goss wrote:
>>
>> Hi Steve,
>>
>> I was getting out-of-memory errors also. I edited the jmeter.bat file to
>> increase the heap:
>>
>> set HEAP=-Xms512m -Xmx512m
>>
>> This tells the Java JVM it can use more memory.
>>
>> Also the Listeners can take up a lot of memory. Setting them to record
>> only errors will help.
>>
>> Regards,
>> Frank
>>
>>
>>
>>
>> b4d93r <b4...@gmail.com>
>> 09/26/2007 11:14 AM
>> Please respond to
>> "JMeter Users List" <jm...@jakarta.apache.org>
>>
>>
>> To
>> jmeter-user@jakarta.apache.org
>> cc
>>
>> Subject
>> Out of Memory errors
>>
>>
>>
>>
>>
>>
>>
>> Good day everyone!
>> When running JMeter, I eventually get "Out of Memory" errors showing up
>> in
>> the command window. I was wondering if anyone else has experienced this
>> and
>> what you did to correct it.
>>
>> Here is some other information that could be helpful.
>> Jmeter v2.3RC4
>> Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
>> JRE client on all three machines: jre-6u2
>>
>> I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
>> with a load balancer. Is there anything simple I can do like adjust the
>> paging file to help fix this?
>>
>> Thanks!
>> Steve
>> --
>> View this message in context:
>> http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12911277
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
--
View this message in context: http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12925195
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Out of Memory errors
Posted by David Schulberg <Da...@objectconsulting.com.au>.
Hi All,
In jmeter.bat
Xms - sets initial java heap size
Xmx - sets maximum java heap size
So typically you would set Xmx > Xms
Also note the setting
-XX:newSize=NNNm which sets the default size for new generation to NNN Mbytes
David Schulberg
Object Consulting | Senior Consultant
email: david.schulberg@objectconsulting.com.au
----------------------------------------------------------------
consulting | development | training | support
our experience makes the difference
________________________________
From: b4d93r [mailto:b4d93r@gmail.com]
Sent: Thu 27/09/2007 8:38 AM
To: jmeter-user@jakarta.apache.org
Subject: Re: Out of Memory errors
I discovered this was also a double post. Apparently there was another one
that address this farther down the list. I'm not sure why my search didn't
find it. My apologies for the double post. %-|
Thanks for your reply Frank! I did find the answer to this while searching
some more on Google. However your reply has me wondering, do I need to
adjust both the Xms and Xmx to the same size or just the Xmx? :confused:
Thanks!
Steve
Frank.G.Goss wrote:
>
> Hi Steve,
>
> I was getting out-of-memory errors also. I edited the jmeter.bat file to
> increase the heap:
>
> set HEAP=-Xms512m -Xmx512m
>
> This tells the Java JVM it can use more memory.
>
> Also the Listeners can take up a lot of memory. Setting them to record
> only errors will help.
>
> Regards,
> Frank
>
>
>
>
> b4d93r <b4...@gmail.com>
> 09/26/2007 11:14 AM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
>
>
> To
> jmeter-user@jakarta.apache.org
> cc
>
> Subject
> Out of Memory errors
>
>
>
>
>
>
>
> Good day everyone!
> When running JMeter, I eventually get "Out of Memory" errors showing up in
> the command window. I was wondering if anyone else has experienced this
> and
> what you did to correct it.
>
> Here is some other information that could be helpful.
> Jmeter v2.3RC4
> Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
> JRE client on all three machines: jre-6u2
>
> I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
> with a load balancer. Is there anything simple I can do like adjust the
> paging file to help fix this?
>
> Thanks!
> Steve
> --
> View this message in context:
> http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
--
View this message in context: http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12911277
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Out of Memory errors
Posted by Fr...@aphis.usda.gov.
Not sure. I didn't do any experiments; just changed both and it fixed the
errors.
Frank
b4d93r <b4...@gmail.com>
09/26/2007 04:38 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
Re: Out of Memory errors
I discovered this was also a double post. Apparently there was another one
that address this farther down the list. I'm not sure why my search didn't
find it. My apologies for the double post. %-|
Thanks for your reply Frank! I did find the answer to this while searching
some more on Google. However your reply has me wondering, do I need to
adjust both the Xms and Xmx to the same size or just the Xmx? :confused:
Thanks!
Steve
Frank.G.Goss wrote:
>
> Hi Steve,
>
> I was getting out-of-memory errors also. I edited the jmeter.bat file to
> increase the heap:
>
> set HEAP=-Xms512m -Xmx512m
>
> This tells the Java JVM it can use more memory.
>
> Also the Listeners can take up a lot of memory. Setting them to record
> only errors will help.
>
> Regards,
> Frank
>
>
>
>
> b4d93r <b4...@gmail.com>
> 09/26/2007 11:14 AM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
>
>
> To
> jmeter-user@jakarta.apache.org
> cc
>
> Subject
> Out of Memory errors
>
>
>
>
>
>
>
> Good day everyone!
> When running JMeter, I eventually get "Out of Memory" errors showing up
in
> the command window. I was wondering if anyone else has experienced this
> and
> what you did to correct it.
>
> Here is some other information that could be helpful.
> Jmeter v2.3RC4
> Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
> JRE client on all three machines: jre-6u2
>
> I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
> with a load balancer. Is there anything simple I can do like adjust the
> paging file to help fix this?
>
> Thanks!
> Steve
> --
> View this message in context:
> http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
--
View this message in context:
http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12911277
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Out of Memory errors
Posted by b4d93r <b4...@gmail.com>.
I discovered this was also a double post. Apparently there was another one
that address this farther down the list. I'm not sure why my search didn't
find it. My apologies for the double post. %-|
Thanks for your reply Frank! I did find the answer to this while searching
some more on Google. However your reply has me wondering, do I need to
adjust both the Xms and Xmx to the same size or just the Xmx? :confused:
Thanks!
Steve
Frank.G.Goss wrote:
>
> Hi Steve,
>
> I was getting out-of-memory errors also. I edited the jmeter.bat file to
> increase the heap:
>
> set HEAP=-Xms512m -Xmx512m
>
> This tells the Java JVM it can use more memory.
>
> Also the Listeners can take up a lot of memory. Setting them to record
> only errors will help.
>
> Regards,
> Frank
>
>
>
>
> b4d93r <b4...@gmail.com>
> 09/26/2007 11:14 AM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
>
>
> To
> jmeter-user@jakarta.apache.org
> cc
>
> Subject
> Out of Memory errors
>
>
>
>
>
>
>
> Good day everyone!
> When running JMeter, I eventually get "Out of Memory" errors showing up in
> the command window. I was wondering if anyone else has experienced this
> and
> what you did to correct it.
>
> Here is some other information that could be helpful.
> Jmeter v2.3RC4
> Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
> JRE client on all three machines: jre-6u2
>
> I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
> with a load balancer. Is there anything simple I can do like adjust the
> paging file to help fix this?
>
> Thanks!
> Steve
> --
> View this message in context:
> http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
--
View this message in context: http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12911277
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Out of Memory errors
Posted by jw...@ancept.com.
It sounds like you need to increase your Java Heap size.
Jason C. Wankerl
Ancept
2901 East 78th Street
Bloomington, MN. 55425
jwankerl@ancept.com
Main: 1-800-927-7474 Main
Office: 952-374-6746
Cell: 651-343-7385
Home: 715-381-3592
"If you aren't fired with enthusiasm, you will be fired with enthusiasm."
- Vince Lombardi
b4d93r <b4...@gmail.com>
09/26/2007 12:14 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
Out of Memory errors
Good day everyone!
When running JMeter, I eventually get "Out of Memory" errors showing up in
the command window. I was wondering if anyone else has experienced this
and
what you did to correct it.
Here is some other information that could be helpful.
Jmeter v2.3RC4
Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
JRE client on all three machines: jre-6u2
I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
with a load balancer. Is there anything simple I can do like adjust the
paging file to help fix this?
Thanks!
Steve
--
View this message in context:
http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Out of Memory errors
Posted by Fr...@aphis.usda.gov.
Hi Steve,
I was getting out-of-memory errors also. I edited the jmeter.bat file to
increase the heap:
set HEAP=-Xms512m -Xmx512m
This tells the Java JVM it can use more memory.
Also the Listeners can take up a lot of memory. Setting them to record
only errors will help.
Regards,
Frank
b4d93r <b4...@gmail.com>
09/26/2007 11:14 AM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
Out of Memory errors
Good day everyone!
When running JMeter, I eventually get "Out of Memory" errors showing up in
the command window. I was wondering if anyone else has experienced this
and
what you did to correct it.
Here is some other information that could be helpful.
Jmeter v2.3RC4
Running on Windows Server 2003 (Intel Xenon 3GHz/2GB RAM)
JRE client on all three machines: jre-6u2
I'm running the test (SOAP/XML) against 2 tomcat servers running on Unix
with a load balancer. Is there anything simple I can do like adjust the
paging file to help fix this?
Thanks!
Steve
--
View this message in context:
http://www.nabble.com/Out-of-Memory-errors-tf4523685.html#a12905544
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org