I am having issue with Heap memory. Everyday memory increases by 100MB and keep on increases and FULL GC ran after the limit of 1.5GB, but still it didn't recovering. after checking the logs, seeing the CMS:abort preclean? iS this can be the factor. any help is appreciated.
CMS:abort preclean due to time?? any idea how to resolve this?
Enviornment:Java 1.6
Here are my GC params:
-Dfile.encoding=UTF-8 \
-Duser.timezone=US/Eastern \
-Dsun.net.inetaddr.ttl=60 \
-Dsun.net.inetaddr.negative.ttl=60 \
-Xms1024m \
-Xmx1536m \
-Xss512k \
-verbose:gc \
-Xloggc:$CATALINA_BASE/logs/gc_log \
-XX:+DisableExplicitGC \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:+PrintGCDetails \
-XX:+PrintGCTimeStamps \
-XX:+UseConcMarkSweepGC \
-XX:+UseParNewGC \
-XX:CMSInitiatingOccupancyFraction=50 \
-XX:GCTimeRatio=99 \
-XX:MaxNewSize=512m \
-XX:MaxTenuringThreshold=30 \
-XX:NewSize=512m \
-XX:SurvivorRatio=6 \
-XX:TargetSurvivorRatio=90 \
**495747.455: [CMS-concurrent-mark-start]
495749.159: [CMS-concurrent-mark: 1.705/1.705 secs] [Times: user=1.91 sys=0.05, real=1.71 secs]
495749.159: [CMS-concurrent-preclean-start]
495749.166: [CMS-concurrent-preclean: 0.006/0.007 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
495749.166: [CMS-concurrent-abortable-preclean-start]
495752.728: [GC 495752.728: [ParNew: 432226K->29458K(458752K), 0.0462900 secs] 1419590K->1016821K(1507328K), 0.0464200 secs] [Times: user=0.08 sys=0.00, real=0.04 secs]
CMS: abort preclean due to time 495754.230: [CMS-concurrent-abortable-preclean: 2.067/5.063 secs] [Times: user=2.43 sys=0.11, real=5.06 secs]
495754.230: [GC[YG occupancy: 146431 K (458752 K)]495754.230: [Rescan (parallel) , 0.0446310 secs]495754.275: [weak refs processing, 0.0000080 secs] [1 CMS-remark: 987363K(1048576K)] 1133794K(1507328K), 0.0447400 secs] [Times: user=0.07 sys=0.00, real=0.05 secs]**