<div dir="ltr">I found that the memory usage's increased by about 20% when I upgraded erlang version from otp-r15b03 to otp-18.2.1.  The green line's otp-18.2.1 and the blue line's otp-r15b03 in the attached graph.  The vertical axis is residential memory used by beam in percentage. The green line starts a bit higher than the blue.  This is ok but the gap increases as time goes by.<div><br></div><div>erlang:memory/0 reveals memory usage details.</div><div><br></div><div>== otp-r15b03 ==</div><div>1> erlang:memory().</div><div><div>[{total,208909800},</div><div> {processes,69473238},</div><div> {processes_used,69388990},</div><div> {system,139436562},</div><div> {atom,924601},</div><div> {atom_used,900928},</div><div> {binary,1066312},</div><div> {code,22978624},</div><div> {ets,5108576}]</div><div><br></div><div>== otp-18.2.1 ==</div><div>1> erlang:memory().</div><div><div>[{total,250735008},</div><div> {processes,123869144},</div><div> {processes_used,123804656},</div><div> {system,126865864},</div><div> {atom,1033377},</div><div> {atom_used,1000716},</div><div> {binary,6331096},</div><div> {code,29690005},</div><div> {ets,5317136}]</div></div><div><br></div><div>otp-18.2.1 uses about twice as much in processes and 6 times as much in binary.</div><div><br></div><div>The system acts as a reverse proxy that receives http requests and forwards them to multiple backends.  Nothing very special.<div><br></div><div>Well, it's still affordable but I want to know that this is the normal price to pay to keep track of the otp pace.  Or can there possibly be anything wrong in my code that I have to investigate further?<br clear="all"><div><br></div>-- <br><div class="gmail_signature">Park, Sungjin<div><br></div></div>
</div></div></div></div>