I reviewed this Erlang crash dump where VM ran out of heap memory. The problem is that there is no obvious culprit allocating all this memory.
Using awk
serious black magic, I summarized the Stack+heap
, OldHeap
, Heap unused
and OldHeap unused
for each process and estimated them by memory usage. The problem is that this number does not approach the number that represents the common memory for all processes_used processes_used
according to the Erlang crash dump guide .
I already tried Crashdump Viewer and either I missed something or there is no help there for my problem.
The number I get is 525 MB, while the processes_used
value is 1348 MB. Where can I find the rest of the memory?
Edit: Heap unused
and OldHeap unused
should not have been included, as they are part of Stack+heap
and OldHeap
, which is plus the fact that the number displayed for Stack+heap
and OldHeap
listed as the number of words, not bytes. There was a problem.
Fylke source share