<div dir="ltr"><pre class="" id="comment_text_16">Does any one know some more detail information for OTP-7132?<br></pre><pre class="" id="comment_text_16"><br>--- <a href="http://www.erlang.org/doc/apps/erts/notes.html#id114389">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 class="" id="comment_text_16">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 class="" id="comment_text_16">I don't know OTP-7132 is related. Any information will be appreciated.<br><br></pre><pre class="" id="comment_text_16">Thanks,<br>Kinoshita<br></pre><pre class="" id="comment_text_16">
<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>