Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
Other Resources:
sun.tools.jmap.JMap - "jmap" Command
How to run "jmap" command from JDK tools.jar file?
✍: FYIcenter
"jmap" command allows you to dump heap memory area of a given JVM process on your computer system.
"jmap" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.
You can run the "jmap" command using the JDK tools.jar file as described below using JDK 8 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-1.8.0_191 C:\fyicenter>%JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar sun.tools.jmap.JMap Usage: jmap -histo <pid> (to connect to running process and print histogram of java object heap jmap -dump:<dump-options> <pid> (to connect to running process and dump java heap) dump-options: format=b binary default file=<file> dump heap to <file> Example: jmap -dump:format=b,file=heap.bin <pid>
Â
⇒ sun.tools.jstack.JStack - "jstack" Command
⇠sun.tools.jps.Jps - "jps" Command
2019-11-21, 1771👍, 0💬
Popular Posts:
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...