Search This Blog

Tuesday 20 April 2010

Java, monitoring memory allocation

the JDK comes with a couple of tools which enables to monitor the memory which is being allocated during the execution of  JVM process.

jps which shows the JVM process currently running on the machine, together with their process id
jstat which print a dump of the memory consumption of a JVM process

syntax
jstat -gcutil  

No comments:

Post a Comment