<div dir="ltr">Hello,<div><br></div><div>You can set ERL_CRASH_DUMP_SECONDS to 0 and it will not generate a erl_crash.dump. Also since Erlang/OTP 19.2 there is the ERL_CRASH_DUMP_BYTES variable that can be used to limit the size of the erl_crash.dump.</div><div><br></div><div><a href="http://erlang.org/doc/man/erl.html#id199588">http://erlang.org/doc/man/erl.html#id199588</a><br></div><div><br></div><div>Lukas</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 26, 2017 at 7:58 AM, Manoj <span dir="ltr"><<a href="mailto:manojy@utl.in" target="_blank">manojy@utl.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Dear all,</p>
<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><span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<pre class="m_6902363225102910284moz-signature" cols="72">--
Regards,
Manoj</pre>
</font></span></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>