You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/09/06 05:04:15 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/store StoreJanitorImpl.java

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:     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