cms has no effect

Ken--@newsgroupstats.hk dragonken at gmail.com
Tue Nov 10 07:19:14 PST 2009


Hi All,

One of my application has cms problem, pls refer to this gc log:

http://old.nabble.com/file/p26284852/mdf_gc.rar mdf_gc.rar 

from the gc log, you can see cms doesn't take any effect. Actually the
application is not well coded as it generates around 350Mb garbage / 8
seconds in peak hours. I know I have to tune the application but any
suggestion or workaround to the problem before I have time to fine tune it?

jdk1.6

startup options:
-server -Xms4G -Xmx4G -XX:NewSize=512M -XX:MaxNewSize=512M -XX:PermSize=128M
-XX:MaxPermSize=128M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=70
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
-XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0
-XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=4 -XX:+HandlePromotionFailure
-XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintGCDetails -XX:+PrintGCTaskTimeStamps
-XX:-TraceClassUnloading -Xloggc:mdf_gc.log
-Dcom.sun.management.jmxremote.port=7192
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Regards,
Ken


-- 
View this message in context: http://old.nabble.com/cms-has-no-effect-tp26284852p26284852.html
Sent from the OpenJDK Hotspot Garbage Collection mailing list archive at Nabble.com.



More information about the hotspot-gc-dev mailing list