[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
bc.


Thanks,
Kinoshita

-----------------------------------------------------------
[cloudian@REDACTED S002]$ head erl_crash.dump
=erl_crash_dump:0.1
Thu Jan 30 17:42:24 2014
Slogan: eheap_alloc: Cannot allocate 191315400 bytes of memory (of type
"heap").
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
=memory
total: 1843551840
processes: 1640736600
processes_used: 1626764688
[cloudian@REDACTED S002]$  { grep +heap: erl_crash.dump |cut -d' ' -f2 |tr
"\n" +; echo 0; }|bc
46165303
[cloudian@REDACTED S002]$  { grep OldHeap: erl_crash.dump |cut -d' ' -f2 |tr
"\n" +; echo 0; }|bc
52591961
-------------- 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