aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/break.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-05-13 16:24:33 +0200
committerLukas Larsson <[email protected]>2013-05-13 16:45:41 +0200
commit9116b4b6a19e18c926d218b325dfa6ddd4e04f41 (patch)
tree26207a5a35f69a78dc281f2eed863cb477423dc3 /erts/emulator/beam/break.c
parent89939207898fc68a2ee0c080e603aa65fb866b25 (diff)
downloadotp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.tar.gz
otp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.tar.bz2
otp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.zip
Print process memory usage info in crash dump
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r--erts/emulator/beam/break.c1
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);