This content has been marked as final.
Show 2 replies
-
1. Re: Can't attatch the core file while dump
glenti Mar 30, 2009 9:10 AM (in response to vadivem)
JMAP doesn't recognize the option file=/tmp/heap.bin so it thinks it is the PID.
Try
jmap -heap:format=b PID
you should find the output file heap.bin in your working directory.
Hope it helps -
2. Re: Can't attatch the core file while dump
bhaveshbhagat4 Jul 20, 2017 3:16 PM (in response to vadivem)-heap option is for live heap statistics.
use -dump option instead. For example:
jmap -dump:format=b,file=/tmp/heap.jprof 21369