<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><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>