tags:

views:

337

answers:

1

Is there any way to disable the generation of "crash dump" & "core dump" files when running 'erl' ?

PS: I know about the "+d" option of erl but I want to completely disable the generation of crash/core dumps.

+1  A: 

If you are into dirty patching, you can insert a return statement right at the top of the erl_crash_dump_v function in break.c, and recompile.

Zed
Thanks for the suggestion but I would rather have this work out of the box: I don't want to have to maintain another distro.
jldupont
I'm pretty sure you either do this, or write a nice wish letter to the erlang development mailing list :)Anyway, I would love to be proven wrong.
Zed