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

    Memory Heap decreasing over time

    Edison Melo Newbie

      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"



      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.