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?