... | ... | @@ -6,7 +6,8 @@ Please run these commands next time you see it taking a lot of memory: |
|
|
PID=pid # CHANGE pid TO THE PROCESS ID
|
|
|
heap -s -guessNonObjects -showSizes $PID > /tmp/heap.txt
|
|
|
vmmap $PID >> /tmp/heap.txt
|
|
|
leaks -nocontext $PID > /tmp/leaks.txt
|
|
|
leaks --outputGraph=/tmp/graph.memgraph $PID
|
|
|
```
|
|
|
|
|
|
where `pid` is the process ID of iTerm2. There will be many processes name iTerm2, but look for the one in activity monitor that has an icon next to it). After running the command, attach `/tmp/heap.txt` and `/tmp/graph.memgraph` to an issue. |
|
|
\ No newline at end of file |
|
|
where `pid` is the process ID of iTerm2. There will be many processes name iTerm2, but look for the one in activity monitor that has an icon next to it). After running the command, attach `/tmp/heap.txt`, `/tmp/leaks.txt`, and `/tmp/graph.memgraph` to an issue. |
|
|
\ No newline at end of file |