jmap (original) (raw)
Description
The jmap
command prints shared object memory maps or heap memory details of a specified process, core file, or remote debug server. If the specified process is running on a 64-bit Java Virtual Machine (JVM), then you might need to specify the -J-d64
option, for example: jmap
-J-d64 -heap pid
.
Note: This utility is unsupported and might not be available in future releases of the JDK. On Windows Systems where the dbgeng.dll
file is not present, Debugging Tools For Windows must be installed to make these tools work. The PATH
environment variable should contain the location of the jvm.dll
file that is used by the target process or the location from which the crash dump file was produced, for example: set PATH=%JDK_HOME%\jre\bin\client;%PATH%
.