[erlang-questions] Cannot allocate heap - who is the culprit?

Scott Lystig Fritchie <>
Tue Mar 31 04:50:10 CEST 2015


Steven <> wrote:

s> Hi all, If a crashdump is produced and indicates that it cannot
s> allocate XXXXXXXX bytes of type heap memory (or old heap), is there a
s> way to find out, from the crashdump file, which process is trying to
s> request memory?

When looking at the 'erl_crash.dump' file (as plain text or in the
Crashdump Viewer application), it's almost always the process that's in
the 'Garbing' state, namely it's in the middle of a garbage collection
(GC) operation.

-Scott


More information about the erlang-questions mailing list