Snippets tagged “jcmd”
2 snippets use this tag.
- How to find Java Heap Size and Memory Used (Linux)?Java
To find the Java heap size and the amount of memory used on a Linux system, you can use the jstat command and specify the process ID (PID) of the Java process.
- How to get a thread and heap dump of a Java process on Windows that's not running in a consoleJava
To get a thread and heap dump of a Java process on Windows that is not running in a console, you can use the jstack and jmap tools that are included with the Java Development Kit (JDK).