[erlang-questions] Why Beam.smp crashes when memory is over?
Sun Nov 8 21:57:45 CET 2009
From within Erlang, I don't believe so.
From outside, maybe, with the right debugger.
In general, I believe the heartbeat functionality (i.e. erl -heart) is
supposed to handle this by letting it crash and restarting the whole
On Nov 8, 2009, at 12:56 PM, Max Lapshin wrote:
> Why does Erlang crashes, when physical memory is over?
> Error is:
> beam.smp(5454,0xb01aa000) malloc: *** mmap(size=41943040) failed
> (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in
> malloc_error_break to debug
> Isn't it possible to intercept this error and stop erlang process,
> that requests memory?
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions