Skip to content

Commit

Permalink
Adding note about location of dump created
Browse files Browse the repository at this point in the history
  • Loading branch information
AnEmortalKid authored and cchesser committed Aug 23, 2017
1 parent 4340de8 commit b664a9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions part_4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ are running as the same OS user as the target JVM process.
jcmd <PID> GC.heap_dump my_little_heap_dump.hprof
```

**Note:** If a full path is not specified, the heap_dump will be created relative to the location from where the process was started (when generated with jcmd)

### jmap

A more traditional approach is using `jmap` and invoking the command on the target process.
Expand Down

0 comments on commit b664a9c

Please sign in to comment.