<div dir="ltr">See the documentation of the ERL_CRASH_DUMP_SECONDS variable (at the bottom of the page <a href="http://erlang.org/doc/man/erl.html">http://erlang.org/doc/man/erl.html</a>):<div><div><br></div><div>"Unix systems: This variable gives the number of seconds that the emulator is allowed to spend writing a crash dump. When the given number of seconds have elapsed, the emulator is terminated by a SIGALRM signal. If the variable is not set or set to 0 seconds (ERL_CRASH_DUMP_SECONDS=0), the runtime system does not even attempt to write the crash dump file. It only terminates."</div></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br> /Richard</div></div>
<br><div class="gmail_quote">2017-05-15 13:51 GMT+02:00 Arun <span dir="ltr"><<a href="mailto:arunp@utl.in" target="_blank">arunp@utl.in</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<div class="m_-4085767923510293651moz-forward-container">
<div class="m_-4085767923510293651moz-forward-container"> Hi,
<p>I'm running erlang in an embedded environment, and there 's a
requirement to maintain 15MB free memory</p>
<p>at any point of time. To ensure the same I need to disable
the generation of erlang crash dump file(erl_crash.dump)</p>
<p>file since it may grow in size. How can this be done??</p>
<p>I've tried the following options:</p>
<p>i. "+d" option when beginning to run the erlang node</p>
<p>ii. Set the value of the environment variable ERL_CRASH_DUMP
to "/dev/null"(tried this both when running the erlang
application, and <br>
</p>
<p>also setting the environment variable explicitly after
running the application)</p>
<p><b>PS: I'm running the my application on Erlang/OTP 19
[erts-8.0]</b><br>
</p>
Regards,<br>
Arun P<br>
</div>
<br>
</div>
<br>
</div>
<br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div></div>