-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak #869
Comments
Can you try to disable the permessage-deflate extension? |
Yes, same result just without the deflate calls in the stack. I also checked gc and it appeared to be running fine, but I don't have much experience debugging this sort of thing. |
I'm kinda new to ws codebase so I'm not sure where to look. |
I too wonder if it has to do with client tracking, which does not seem to work for me, at least when a client has disconnected. If I print
Looks like clients are not removed upon disconnection, which seems like it would be the expected behavior, right? |
#967 possibly related. |
@lawlmart were you using |
No, I'm not. |
Can you try with Thanks. |
Closing as I can't reproduce the issue. Please post back if you have more info. |
I've trying to track down a memory leak that seems to be related to ws. My socket server has ~ 300 connections per second and peaks out at around 15000 concurrents before running out of memory (8 gb). Memory usage seems to rise linearly (proportional to new connections, not concurrent connections). Here's what I believe to be the relevant part of the heap dump:
Thanks in advance for your assistance.
The text was updated successfully, but these errors were encountered: