Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)
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. This problem, creates an issue that the Eden space GC runs frequently, and the time available between these minor GC's is to short for the Tenured space to be effectively collected. Any Help or suggestions would be greatly appreciated. Thank You, -- Mitchell Smith The information contained in this email (and any attachments) is confidential and may be privileged. If you are not the intended recipient and have received this email in error, please notify the sender immediately by reply email and delete the message and any attachments. If you are not the named addressee, you must not copy, disclose, forward or otherwise use the information contained in this email. Cable Wireless Communications Plc and its affiliates reserve the right to monitor all email communications through their networks to ensure regulatory compliance. Cable Wireless Communications Plc is a company registered in England Wales with number: 07130199 and offices located at 3rd Floor, 26 Red Lion Square, London WC1R 4HQ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)
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 signature.asc Description: OpenPGP digital signature
Re: Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)
On 10/06/2011 17:10, Martin Grotzke wrote: 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 Are you setting these values in response to some performance testing? p signature.asc Description: OpenPGP digital signature