vgritsenko 2002/09/05 20:04:15 Modified: src/java/org/apache/cocoon/components/store Tag: cocoon_2_0_3_branch StoreJanitorImpl.java Log: Bug in store janitor when heapsize configured to match max heapsize Revision Changes Path No revision No revision 1.11.2.1 +2 -2 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.11 retrieving revision 1.11.2.1 diff -u -r1.11 -r1.11.2.1 --- StoreJanitorImpl.java 22 Feb 2002 07:00:14 -0000 1.11 +++ StoreJanitorImpl.java 6 Sep 2002 03:04:15 -0000 1.11.2.1 @@ -198,7 +198,7 @@ this.getLogger().debug("JVM free Memory: " + this.getJVM().freeMemory()); } - if((this.getJVM().totalMemory() > this.getHeapsize()) + if((this.getJVM().totalMemory() >= this.getHeapsize()) && (this.getJVM().freeMemory() < this.getFreememory())) { if (this.getLogger().isDebugEnabled()) { this.getLogger().debug("Memory is low = true");
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]