Hi,

On 06/10/2011 05:05 PM, Smith, Mitchell wrote:
> Hi,
> 
> Tomcat Version 5.5.27
> OS: Linux Red Hat Linux 5.3 Enterprise 64bit
> 
> I have a tomcat server setup, with the following configuration added:
>     -XX:+UseLargePages
>     -Xms14336m
>     -Xmx14336m
>     -XX:NewRatio=4
>     -XX:MaxPermSize=256m
>     -XX:+UseConcMarkSweepGC
>     -XX:CMSInitiatingOccupancyFraction=51
>     -XX:+CMSIncrementalMode
>     -XX:+CMSIncrementalPacing
>     -XX:CMSIncrementalDutyCycle=75
>     -XX:CMSIncrementalDutyCycleMin=20
>     -XX:CMSIncrementalSafetyFactor=10
>     -XX:CMSIncrementalOffset=0
>     -XX:CMSExpAvgFactor=25
> 
> When I check the JVM output via jConsole the Eden space only has an
> available max space of 10496kbytes, I believe that my configuration of
> -(XX:NewRatio=4) should effectively set this parameter to 20% of the
> total available heap (-Xmx14336m) - should be approx 2936000kbytes.

What's your jvm version? There was a bug in the sun/oracle jvm so that
NewRatio was not used [1].
You can still set the new size fix with NewSize.

Cheers,
Martin

[1] http://bugs.sun.com/view_bug.do?bug_id=6862534


-- 
Martin Grotzke
http://twitter.com/martin_grotzke

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to