|
This section lists methods to obtain fresh dumps on Windows-based platforms |
|
This section lists methods to obtain fresh dumps on Windows-based platforms |
|
There may be different options for each type of Java installed. The commands listed below are known to work with the Java 7 JDK. |
|
There may be different options for each type of Java installed. The commands listed below are known to work with the Java 7 JDK. |
|
Using 'jmap', which is part of the JDK, you can run: |
|
Using 'jmap', which is part of the JDK, you can run: |
|
This command will then dump the memory map of the target process-id# to an hprof file within the current directory (or specified directory if you expand on 'filename'). |
|
This command will then dump the memory map of the target process-id# to an hprof file within the current directory (or specified directory if you expand on 'filename'). |
|
|
+ |
# Java 7 'jmap' info: [http://docs.oracle.com/javase/6/docs/technotes/tools/share/jmap.html jmap - Memory Map]
|