I have read through this Process Memory Vs Heap -- JVM
and i have the same problem.
The jvm process memory usage keeps increasing and never shrinks.I checked by doing a top on the linux server. The application is scheduling jobs to a cluster ( Using Quartz + Sun Java DRMAA API )
The java heap space is staying within the limits during the application life cycle but the jvm process is showing a steady climb in memory usage and never coming down.
Is this a memory leak ? If so , why is heap space being within the limits. Can someone explain this.
UPDATE: I have -Xmx1600m -Xms1600m when i track through jconsole i can see the heap space well within this limit aroung 450m but the top command shows the process is using more than 900m.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…