Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 21131 invoked by uid 500); 26 Jan 2002 16:54:43 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 21122 invoked by uid 500); 26 Jan 2002 16:54:43 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 26 Jan 2002 16:54:43 -0000 Message-ID: <20020126165443.45038.qmail@icarus.apache.org> From: froehlich@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/store StoreJanitorImpl.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N froehlich 02/01/26 08:54:42 Modified: src/java/org/apache/cocoon/components/store StoreJanitorImpl.java Log: added better debugging messages Revision Changes Path 1.3 +2 -4 xml-cocoon2/src/java/org/apache/cocoon/components/store/StoreJanitorImpl.java Index: StoreJanitorImpl.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/StoreJanitorImpl.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- StoreJanitorImpl.java 22 Jan 2002 00:17:12 -0000 1.2 +++ StoreJanitorImpl.java 26 Jan 2002 16:54:42 -0000 1.3 @@ -137,10 +137,8 @@ */ private boolean memoryLow() { if (this.getLogger().isDebugEnabled()) { - this.getLogger().debug("getJVM().totalMemory()=" + this.getJVM().totalMemory()); - this.getLogger().debug("getHeapsize()=" + this.getHeapsize()); - this.getLogger().debug("getJVM().freeMemory()=" + this.getJVM().freeMemory()); - this.getLogger().debug("getFreememory()=" + this.getFreememory()); + this.getLogger().debug("Memory is low=" + + (this.getJVM().totalMemory() > this.getHeapsize() && this.getJVM().freeMemory() < this.getFreememory())); } return this.getJVM().totalMemory() > this.getHeapsize() && this.getJVM().freeMemory() < this.getFreememory(); } ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org