[erlang-questions] Memory Leak

Michael Truog <>
Tue Oct 13 07:18:27 CEST 2015


On 10/12/2015 08:43 PM, Vance Shipley wrote:
> On Tue, Oct 13, 2015 at 8:49 AM, yikang zhuo <> wrote:
>> top res -> 8.3g
>> erlang:memory() -> 3.6G
> ...
>> wow.. does memory Leak in ejabberd or erlang 17.5 erts-6.4
> Not in the buggy way you may suspect:
> https://blog.heroku.com/archives/2013/11/7/logplex-down-the-rabbit-hole
>
> Jump down to the section titled "I Just Keep on Bleeding and I Won't Die".
>
>
There was a GC bug in 17.5 mentioned at http://erlang.org/pipermail/erlang-questions/2015-June/085032.html as OTP-12821 .  You may not be running into that though.  I have seen abnormal GC memory growth with the 17.5 release (from the download page) but not the 18.0 release, and am not sure about the exact changes it was related to (only that it caused the Erlang VM to be killed by the Linux OS, if you are interested in the testing, it is at https://groups.google.com/forum/#!topic/cloudi-questions/bw2D7YOFtKU).


More information about the erlang-questions mailing list