Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 46855 invoked from network); 19 Oct 2009 12:56:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 12:56:59 -0000 Received: (qmail 41869 invoked by uid 500); 19 Oct 2009 12:56:59 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 41833 invoked by uid 500); 19 Oct 2009 12:56:58 -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 41823 invoked by uid 99); 19 Oct 2009 12:56:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 12:56:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 12:56:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mzrml-0005Kb-Nu for jcs-users@jakarta.apache.org; Mon, 19 Oct 2009 05:56:27 -0700 Message-ID: <25957925.post@talk.nabble.com> Date: Mon, 19 Oct 2009 05:56:27 -0700 (PDT) From: the_dust To: jcs-users@jakarta.apache.org Subject: Memory usage when loading keys MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: alex_j@gmx.de X-Virus-Checked: Checked by ClamAV on apache.org Hello, I filled a IndexedDiskCache with about 7 million entries and everything worked fine. This resulted in a .key file of about 190 MB in size. When the cache is loaded, it takes about 2.5 GB of RAM loading all the keys, even if the .key file is much smaller. For my special case, this is a big problem. My two questions are now: 1. Why is that? 2. How can I solve this problem? With kind regards, Alex -- View this message in context: http://www.nabble.com/Memory-usage-when-loading-keys-tp25957925p25957925.html Sent from the JCS - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org