[erlang-questions] VM leaking memory
Thu Jan 31 23:09:32 CET 2019
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.
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/man/erlang.html#garbage_collect-1 run manually can
> be an interesting experiment to see what kind of memory problem you’ve got.
> *From:* <
> > *On Behalf Of *Frank Muller
> *Sent:* Thursday, January 31, 2019 14:21
> *To:* Erlang-Questions Questions <>
> *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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions