My question is the same like a title of the post )). I found in documentation section about garbage collection https://hexdocs.pm/phoenix/Phoenix.Transports.WebSocket.html#module-garbage-collection, but i am not sure i understand when should i use it and how to?
So, what if we do have large message passing through sockets, should we manually initiate garbage collection after we did a broadcast? And what might happen if we will not do it? Does it make some kind of memory leak?