[erlang-questions] VM leaking memory

Frank Muller frank.muller.erl@REDACTED
Thu Jan 31 23:09:32 CET 2019


Hi John

I’ve a process which does that. Every 5mn it checks it the total memory
went above a threshold and I it triggers a garbage collection. But this
time it didn’t help.

My app is a proxy server which forward packets from left to right by
applying a transformation to them on the fly.

/Frank

That’s not a lot to go on. FWIW, most of my memory issues have been caused
> by failing to understand this section of the manual:
> http://erlang.org/doc/efficiency_guide/binaryhandling.html
>
>
>
> http://erlang.org/doc/man/erlang.html#garbage_collect-1 run manually can
> be an interesting experiment to see what kind of memory problem you’ve got.
>
>
>
> *From:* erlang-questions-bounces@REDACTED <
> erlang-questions-bounces@REDACTED> *On Behalf Of *Frank Muller
> *Sent:* Thursday, January 31, 2019 14:21
> *To:* Erlang-Questions Questions <erlang-questions@REDACTED>
> *Subject:* [erlang-questions] VM leaking memory
>
>
>
> Hello guys
>
> After adding a new feature to my app (running non-stop for 5 years), it
> started leaking memory in staging.
>
>
> Obviously, I’m suspecting this new feature. Command top shows RES going
> from 410m (during startup) to 6.2g in less than 12h.
>
> For stupid security reasons, it will take me weeks to be allowed to share
> collected statistics (from recon, entop) here, but I can share them in
> private if someone is willing to help.
>
>
> My config: Erlang 21.2.4 on CentOS 7
>
> Thanks you.
> /Frank
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190131/61c9f87e/attachment.htm>


More information about the erlang-questions mailing list