Memory leak in Deno.serve?
i have simple proxy server like this and it has memory leak issue which i have no idea how to tackle: https://gist.github.com/pakastin/503dcbcd141e2895a3d863253483c831
3 Replies
Could you please open an issue in the Deno repo?
ok, thanks!
sorry maybe I’m missing something but are you also terminating the socket proxy on connection close? or disposing of it?
I think that works as an even listener which would explain why memory leaks.
Let me know if that helps or if I missed something, that’s a very interesting problem.
good luck!