Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 21405 invoked from network); 19 Dec 2007 11:09:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 11:09:06 -0000 Received: (qmail 67208 invoked by uid 500); 19 Dec 2007 11:08:55 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 67182 invoked by uid 500); 19 Dec 2007 11:08:54 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 67173 invoked by uid 99); 19 Dec 2007 11:08:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 03:08:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 11:08:51 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id ACC5ED2DB for ; Wed, 19 Dec 2007 11:08:42 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@jackrabbit.apache.org Date: Wed, 19 Dec 2007 11:08:42 -0000 Message-ID: <20071219110842.19286.61750@eos.apache.org> Subject: [Jackrabbit Wiki] Update of "CacheManager" by ThomasMueller X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification. The following page has been changed by ThomasMueller: http://wiki.apache.org/jackrabbit/CacheManager ------------------------------------------------------------------------------ The CacheManager manages the size of the caches used in Jackrabbit (MLRUItem``State``Cache objects). The combined size of all caches must be limited to avoid out of memory problems. Without CacheManager, Jackrabbit can run out of memory because the the combined size of the various caches is not managed. This mechanism is not the definitive solution; it may be desirable to internally use only one cache. - The CacheManager does not control the memory used by unsaved data (data in the transient space). + The CacheManager does not control the memory used by unsaved data (data in the transient space). If you get out of memory exceptions, check that your application calls Node.save() or (even better) Session.save() from time to time. Unsaved changes are kept in memory with the current Jackrabbit. The maximum size for all caches in CacheManager is 16 megabytes by default, but it can be changed like this: