2 Replies Latest reply on May 14, 2010 4:10 PM by roko98

    Memory Heap decreasing over time

    roko98

      Hi all

       

      Trying to find a memory leak, I found this behaveur in my test bed (Linux, JBoss 4.2.3, JDK5):

       

      JAVA_OPTS="-Xms1024m -Xmx1024m -XX:PermSize=384m -XX:NewSize=254m -XX:MaxNewSize=254m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:loggc.log -XX:+PrintGCDetails"

      snapshot3.png

       

      I think that the heap size is decreasing... right ? I mean, this is not a "regular" leak, aparently, every GC is releasing all the memory that can be freed.  Can anybody explain this behaveur ? I'm confused. Thx.