diff options
author | Lukas Larsson <[email protected]> | 2013-05-16 09:46:42 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-05-16 09:46:42 +0200 |
commit | 54f5cea53853351ecd0042ebe0e9b9bdc1ba4449 (patch) | |
tree | 8958c9619f1a0958894c3e3dfa41f06b4f42b722 /erts/emulator/beam/break.c | |
parent | 8992e61d3fe98c246f00a2b701fba6c54567582e (diff) | |
parent | 9116b4b6a19e18c926d218b325dfa6ddd4e04f41 (diff) | |
download | otp-54f5cea53853351ecd0042ebe0e9b9bdc1ba4449.tar.gz otp-54f5cea53853351ecd0042ebe0e9b9bdc1ba4449.tar.bz2 otp-54f5cea53853351ecd0042ebe0e9b9bdc1ba4449.zip |
Merge branch 'lukas/erts/process_memory_crash_dump/OTP-11098' into maint
* lukas/erts/process_memory_crash_dump/OTP-11098:
Print process memory usage info in crash dump
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r-- | erts/emulator/beam/break.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c index 9aa1e5f30d..e34fc8388c 100644 --- a/erts/emulator/beam/break.c +++ b/erts/emulator/beam/break.c @@ -331,6 +331,7 @@ print_process_info(int to, void *to_arg, Process *p) erts_print(to, to_arg, "Heap unused: %bpu\n", (p->hend - p->htop)); erts_print(to, to_arg, "OldHeap unused: %bpu\n", (OLD_HEAP(p) == NULL) ? 0 : (OLD_HEND(p) - OLD_HTOP(p)) ); + erts_print(to, to_arg, "Memory: %beu\n", erts_process_memory(p)); if (garbing) { print_garb_info(to, to_arg, p); |