forked from AkkomaGang/akkoma
Oneric
4f44d08816
For some but not all instances (likely depending on usage patterns) those [i’m guessing, to be tested] process end up accumulating stale binary data in such a way it’s not included into young garbage collection cycles. At the same time, full cycles are barely ever triggered making it seem like a memory leak. To avoid this, make full sweeps more frequent for only the affected processes. TODO: actually test this theory + fix ref: https://www.erlang.org/doc/man/erlang#ghlink-process_flag-2-idp226 https://blog.guzman.codes/using-phoenix-channels-high-memory-usage-save-money-with-erlfullsweepafter (showed up in search results and inspired this) https://git.pleroma.social/pleroma/pleroma/-/merge_requests/4060 (different patch due to different socket implementation) |
||
---|---|---|
.. | ||
mix | ||
phoenix/transports/web_socket | ||
pleroma |