[erlang-questions] beam.smp is killed by oom

Max Lapshin max.lapshin@REDACTED
Tue Aug 7 11:48:28 CEST 2012


In 99,99% cases when I get erlang crashed by oom, it is error logger
of failing process.


When you have a big gen_server state (more than 10 MB) and your server
is crashing due to error message, last message and last reason are
going to be dumped.
gen_server:format_status doesn't help at all, because reason is going
to be dumped.

10 MB of state takes gigabyte or more of memory to dump as an error reason.



More information about the erlang-questions mailing list