© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Arpan Ghoshal
Full Stack Elixir Developer
Nice article, one more idea to try is to periodically run erlang:garbage_collect() on the Phoenix channel process.
erlang:garbage_collect()
Erik Guzman
Yeah! I read about this also. The book covered :erlang.garbage_collect(pid) and GenServer.call(pid, :clear_hibernate) for your own GenServers
:erlang.garbage_collect(pid)
GenServer.call(pid, :clear_hibernate)