Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 80334 invoked from network); 3 Dec 2006 22:31:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2006 22:31:19 -0000 Received: (qmail 81507 invoked by uid 500); 3 Dec 2006 22:31:28 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 81482 invoked by uid 500); 3 Dec 2006 22:31:28 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 81457 invoked by uid 99); 3 Dec 2006 22:31:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 14:31:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of forbes.al@googlemail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 14:31:16 -0800 Received: by nf-out-0910.google.com with SMTP id h2so4112731nfe for ; Sun, 03 Dec 2006 14:30:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VDZ7sPOhfV6zA+ydvP2L479hlR6QsC2V92pfhReJSu8wqn7JPn6xgZCYxPyDYgGfpnqNbEhc2Q9zFS6Y8R4/0/9MRMu+vwx2R4GuBRm5OaQOcElANNn5FbP9v3Bz3CoE0ECoJR62dL5U97vf2s+F2+FgtMg7PEA+Q+bat9GiUuA= Received: by 10.82.179.9 with SMTP id b9mr1364655buf.1165185054460; Sun, 03 Dec 2006 14:30:54 -0800 (PST) Received: by 10.82.161.8 with HTTP; Sun, 3 Dec 2006 14:30:54 -0800 (PST) Message-ID: Date: Sun, 3 Dec 2006 23:30:54 +0100 From: "Al Forbes" To: jcs-users@jakarta.apache.org Subject: Garbage collection MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org 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