<div dir="ltr">yes it does. The fix was released in 18.0.3 I believe.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 10:29 AM, Alexander Petrovsky <span dir="ltr"><<a href="mailto:askjuise@gmail.com" target="_blank">askjuise@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div>Does this commit fix the problem — <a href="https://github.com/erlang/otp/commit/d2bb1ca56dcd0ab8e5b43c4368409317c3ddd4db" target="_blank">https://github.com/erlang/otp/commit/d2bb1ca56dcd0ab8e5b43c4368409317c3ddd4db</a> ?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-08-18 17:14 GMT+03:00 Lukas Larsson <span dir="ltr"><<a href="mailto:lukas@erlang.org" target="_blank">lukas@erlang.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Erlang 18.0 seems to have introduced a memory leak in the tty driver for unix platforms. This means that when printing to stdout the binary usage will grow. I believe I have found a solution to the problem.</div><div><br></div><div>If you have problems with this leak, using -oldshell removes the leak.</div><div><br></div><div>Thanks for reporting this issue.</div><div><br></div><div>Lukas<br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Aug 18, 2015 at 2:18 PM, Alexander Petrovsky <span dir="ltr"><<a href="mailto:askjuise@gmail.com" target="_blank">askjuise@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi!</div><div><br></div><div>A few days ago a noticed that erlang vm eat too many memory. I've checked system and binary memory and found that it is constantly growing. I'm start debugging with recon but without success. After disabling all application the memory sill growing.</div><div><br></div><div>I've checken on clean vm:</div><div><br></div><div><div>1> application:which_applications().</div><div>[{stdlib,"ERTS  CXC 138 10","2.5"},</div><div> {kernel,"ERTS  CXC 138 10","4.0"}]</div></div><div><br></div><div><div>2> [begin io:format("~p~n", [erlang:memory(binary)]), timer:sleep(1000) end || _ <- lists:seq(1, 5)].</div><div>2105616</div><div>2113976</div><div>2122144</div><div>2130504</div><div>2138864</div><div><br></div><div>3>  io:format("~p~n", [erlang:memory(binary)]), timer:sleep(5000), io:format("~p~n", [erlang:memory(binary)]).</div><div>3124360</div><div>3132720</div><div><br></div></div><div><div>4> 2138864 - 2105616.</div><div>33248</div><div><br></div><div>5> 3132720 - 3124360.</div><div>8360</div></div><div><br></div><div>As you can see, the binary grow non linear and only when I call erlang:memory(binary).</div><div><br></div><div>System: Debian 7</div><div>Erlang: 18.0 esl-erlang</div><div><br></div><div>Can anyone help me?</div><span><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</div>
</div></div></blockquote></div><br></div>