java - How to get JVM? -


i wanted see memory consumption of running java program.

if write program runtime.freememory(), program run under new jvm.

how running java program's jvm , run runtime.freememory()?

you can use jvisualvm. accesses local or remote (if enabled) jvms , provides various options graphically monitor memory usage , threads. many similar tools (command line or graphical) exist if 1 not suit needs.


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -