how to use jmap in windows?
Steps to generate HeapDump a) For Windows: You can open the Task Manager and check for the process id (PID) of Jvm or use the jps command from java/bin path in command prompt. 2. We have to use the JMAP tool to generate the heap dump which is part of the jdk. a) Windows: It is present inside the jdk - bin folder.