Lokvin Wiki
(Created page with "== jmap dump memory heap == * jmap dump memory heap jmap -heap:format=b <process-id> * open dump file (*.bin, *.hprof) with jvisualvn or Eclipse MAT")
Tag: sourceedit
 
Tag: sourceedit
Line 5: Line 5:
   
 
* open dump file (*.bin, *.hprof) with jvisualvn or Eclipse MAT
 
* open dump file (*.bin, *.hprof) with jvisualvn or Eclipse MAT
  +
  +
* pgrep - find process by name.
  +
# -f , match against full argument list, default against process name.
  +
pgrep -f java

Revision as of 08:03, 13 July 2017

jmap dump memory heap

  • jmap dump memory heap
 jmap -heap:format=b <process-id>
  • open dump file (*.bin, *.hprof) with jvisualvn or Eclipse MAT
  • pgrep - find process by name.
 # -f , match against full argument list, default against process name. 
pgrep -f java