jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Forbes" <forbes...@googlemail.com>
Subject Garbage collection
Date Sun, 03 Dec 2006 22:30:54 GMT
Hi,

I have a remote cache setup with a memory+disk cache, pure memory, and
a mysql cache (0 memory). This uses the latest JCS jcs-1.2.7.9.2.jar
in JDK1.5.


After starting the times for a "Full" grabage collection get longer
and longer. Eventually after about 10-12 days I need to restart the
remote cache. Also when the full garbage collection runs it uses more
and more CPU. Memory usage remains fairly constant (round 600M), and
the incremental collections are fairly small 0.02 secs. I wonder if
anyone these has seen the same thing, or has any better suggestions
for the garbage collection.

Full collection:
559228.304: [Full GC 559228.304: [CMS: 214224K->171110K(393216K),
1.2718260 secs] 328232K->171110K(524224K), [CMS Perm :
8565K->8540K(16384K)] icms_dc=0 , 1.2720400 secs]

I currently have the garbage collection configured to:

   MEMUSE="-Xms512m -Xmx1024m"
   MEMUSE=" $MEMUSE -XX:+UseConcMarkSweepGC \
     -XX:NewSize=128m -XX:MaxNewSize=128m \
     -XX:+CMSIncrementalMode \
     -XX:+CMSIncrementalPacing \
     -XX:CMSIncrementalDutyCycleMin=0 \
     -XX:CMSIncrementalDutyCycle=10 \
     -XX:+PrintGCDetails \
     -XX:+PrintGCTimeStamps \
     -Xloggc:../logs/gc.log \
     -XX:-TraceClassUnloading"

Regards
Al

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message