Socket.io memory doesn't drop of after clients disconnect
Problem
I use the most simple example [code block] I use `socket.io-client`, create a 4k connections Then I closed the client, find memory doesn't drop. [code block] `heapUsed` decreased slightly `rss` and `heapTotal` without any change SOS The memory is cleaned up by the garbage collectors periodically. But I waited for half an hour, still no change. Can I only use `global.gc()` to forcibly reclaim memory it? @nuclearace
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Socket.io memory doesn't drop of after clients disconnect
This is not good. Issue still seems to exist. Definetly a very critical bug right here.
Trust Score
5 verifications
- 1
This is not good. Issue still seems to exist. Definetly a very critical bug righ
This is not good. Issue still seems to exist. Definetly a very critical bug right here.
Validation
Resolved in socketio/socket.io GitHub issue #2427. Community reactions: 9 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep