Major GC occurring before CMS occupancy fraction

nitin sharma kumarsharma.nitin at gmail.com
Tue Nov 18 17:24:23 UTC 2014


hi,

I am facing the same issue.. We are using JDK 1.6. 0_23 and have set
Occupancy Fraction to 80% but i can see CMS triggered at much below ration
(around 53%)..

is there a solution for same?

I have used "-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseCMSInitiatingOccupancyOnly" option...

complete JVM argument set ==>

/usr/java/jdk1.6.0_23/bin/java -server -Xms16384m -Xmx16384m
-XX:PermSize=512m -XX:MaxPermSize=1024m -XX:CompileThreshold=8000
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps -XX:+UseParNewGC -XX:MaxNewSize=6144m
-XX:NewSize=6144m -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=4
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
-XX:CMSInitiatingOccupancyFraction=80 -XX:+UseCMSInitiatingOccupancyOnly
-DUseSunHttpHandler=true  -XX:+HeapDumpOnOutOfMemoryError



Regards,
Nitin Kumar Sharma.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20141118/7f32ca5f/attachment.htm>


More information about the hotspot-gc-dev mailing list