[erlang-questions] memory usage gap in erl_crash.dump?

satoshi kinoshita kino@REDACTED
Tue Feb 18 09:31:00 CET 2014

This is a kind of repeating the same question I sent about 2 weeks ago.
But please let me ask one of my old questions again.

I'm using R11B-5 32 bit beam and got some crash dumps.
Though "processes_used" is about 1.6G bytes
the sum of Stack+heap and OldHeap sections of all processes in the same
dump file
is only about 100M words(=400M bytes).

Does any one have any idea for this gap between 1.6G and 400M?

I calculated the sum of all processes like below using, grep, cut, tr and


[cloudian@REDACTED S002]$ head erl_crash.dump
Thu Jan 30 17:42:24 2014
Slogan: eheap_alloc: Cannot allocate 191315400 bytes of memory (of type
System version: Erlang (BEAM) emulator version 5.5.5 [source] [smp:8]
[async-threads:64] [hipe] [kernel-poll:true]
Compiled: Mon Jan 21 18:01:53 2008
Atoms: 9703
total: 1843551840
processes: 1640736600
processes_used: 1626764688
[cloudian@REDACTED S002]$  { grep +heap: erl_crash.dump |cut -d' ' -f2 |tr
"\n" +; echo 0; }|bc
[cloudian@REDACTED S002]$  { grep OldHeap: erl_crash.dump |cut -d' ' -f2 |tr
"\n" +; echo 0; }|bc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140218/67ed9b86/attachment.htm>

More information about the erlang-questions mailing list