cms has no effect

View: New views
1 Messages — Rating Filter:   Alert me  

cms has no effect

by Ken--@newsgroupstats.hk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

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

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