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
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221982#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...