<div dir="ltr">The commit comment for this change is quite telling: <a href="https://github.com/erlang/otp/commit/b628ebe21a7b449eea27ada811dfbb007afe6d0b">https://github.com/erlang/otp/commit/b628ebe21a7b449eea27ada811dfbb007afe6d0b</a><div>
<br></div><div>If you suspect that this could be the culprit maybe you could try to backport the patch?</div><div><br></div><div>Also keep in mind that the =memory section lists it in bytes while =proc sections list heap in words. </div>
<div><br></div><div>Lukas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 6:35 AM, satoshi kinoshita <span dir="ltr"><<a href="mailto:kino@cloudian.com" target="_blank">kino@cloudian.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre>Does any one know some more detail information for OTP-7132?<br></pre><pre><br>--- <a href="http://www.erlang.org/doc/apps/erts/notes.html#id114389" target="_blank">http://www.erlang.org/doc/apps/erts/notes.html#id114389</a> ----
The emulator could under rare circumstances crash while garbage collecting.

Own Id: OTP-7132<br>----------------------------------------------------------------<br><br>We're still using R11B-5 and having a crash while doing GC on a process.<br>Though erl_crash.dump is reporting almost 2GB was used for "processes",<br>

top/vmstat is just reporting less than 1GB for beam.smp.<br></pre><pre>It is also strange to me that sum of heap and OldHeap for all processes<br>are less than 100M, but processes_used is almost 1.6G.<br>
<br></pre><pre>I don't know OTP-7132 is related. Any information will be appreciated.<br><br></pre><pre>Thanks,<br>Kinoshita<br></pre><pre><br>--------------------------------------------------------------------<br>% { grep +heap: erl_crash.dump |cut -d' ' -f2 |tr "\n" +; echo 0; }|bc
46165303<br>% { grep OldHeap: erl_crash.dump |cut -d' ' -f2 |tr "\n" +; echo 0; }|bc
52591961<br><br><br>---------------------------------------------------------------------------------<br>=erl_crash_dump:0.1<br>Thu Jan 30 17:42:24 2014<br>Slogan: eheap_alloc: Cannot allocate 191315400 bytes of memory (of type "heap").<br>

System version: Erlang (BEAM) emulator version 5.5.5 [source] [smp:8] [async-threads:64] [hipe] [kernel-poll:true]<br>Compiled: Mon Jan 21 18:01:53 2008<br>Atoms: 9703<br>=memory<br>total: 1843551840<br>processes: 1640736600<br>

processes_used: 1626764688<br>system: 202815240<br>atom: 433065<br>atom_used: 428224<br>binary: 159095424<br>code: 4043588<br>ets: 21895748<br>=hash_table:atom_tab<br>size: 6421<br>used: 5001<br>objs: 9703<br>depth: 8<br>

<br>...<br><br>=proc:<0.29953.0><br>State: Garbing<br>Name: mgs_db_mgse<br>Spawned as: proc_lib:init_p/5<br>Spawned by: <0.23670.0><br>Started: Thu Sep  1 22:58:50 2011<br>Message queue length: 0<br>Number of heap fragments: 332<br>

Heap fragment data: 34968<br>Link list: [<0.23670.0>, {from,<0.28232.7497>,#Ref<0.0.29467.224716>}]<br>Reductions: 3060681751<br>Stack+heap: 38263080<br>OldHeap: 47828850<br>Heap unused: 116<br>OldHeap unused: 47828850<br>

Program counter: 0xb5d7b7bc (mnesia_locker:receive_wlocks/4 + 64)<br>CP: 0xb5939d50 (mnesia_tm:execute_transaction/5 + 340)<br><br></pre></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>