vgritsenko 2002/09/05 20:04:15 Modified: src/java/org/apache/cocoon/components/store StoreJanitorImpl.java Log: Bug in store janitor when heapsize configured to match max heapsize Revision Changes Path 1.15 +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.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- StoreJanitorImpl.java 31 Jul 2002 13:13:26 -0000 1.14 +++ StoreJanitorImpl.java 6 Sep 2002 03:04:15 -0000 1.15 @@ -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]