Examining Erlang crash dumps - how to account for all memory?

后端 未结 1 365
忘掉有多难
忘掉有多难 2020-12-19 18:50

I\'ve been poring over this Erlang crash dump where the VM has run out of heap memory. The problem is that there is no obvious culprit allocating all that memory.

Us

相关标签:
1条回答
  • 2020-12-19 19:20

    There is an module called crashdump_viewer which is great for these kinds of analysis.

    Another thing to keep in mind is that Heap+Stack is afaik in words, not bytes which would mean that you have to multiply Heap+Stack with 4 on 32 and 8 on 64 bit. Can't find a reference in the manual for this but Processes talks about it a bit.

    0 讨论(0)
提交回复
热议问题