"-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: [EMAIL PROTECTED]
> ----------------------------------------------------------------
> consulting | development | training | support
> our experience makes the difference 
> 
> ________________________________
> 
> From: b4d93r [mailto:[EMAIL PROTECTED]
> Sent: Thu 27/09/2007 8:38 AM
> To: [email protected]
> 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 <[EMAIL PROTECTED]>
>> 09/26/2007 11:14 AM
>> Please respond to
>> "JMeter Users List" <[email protected]>
>>
>>
>> To
>> [email protected]
>> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
> 
> --
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to