I tried to capture the tomcat process dump with jmap , however I got the error " Insufficient memory or insufficient privileges to attach" , obviously there is enough memory, and the currently login user is in the role local administrator group. If I run the cmd command as administrator, it still failed.
C:\Program Files\Java\jdk1.7.0_71\bin>jmap.exe -dump:format=b,file=d:\temp\HeapD
ump.hprof 30452
30452: Insufficient memory or insufficient privileges to attach
The -F option can be used when the target process is not responding