Skip to content
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

This patch will prevent some random memory leaking. #616

Merged
merged 1 commit into from Nov 2, 2011
Merged

This patch will prevent some random memory leaking. #616

merged 1 commit into from Nov 2, 2011

Conversation

thekiur
Copy link
Contributor

@thekiur thekiur commented Nov 1, 2011

The internal closedA object was leaking memory while being totally useless.

It had issues with its size, at random times socket.io stopped removing keys from it,
I found that (Object.keys(closedA).length) was more than 350,000 after running for 10 hours.

Edit: i made some more tests, this really fixes a large memory leak, atleast on node 0.4.8

rauchg added a commit that referenced this pull request Nov 2, 2011
This patch will prevent some random memory leaking.
@rauchg rauchg merged commit 2bb60ac into socketio:master Nov 2, 2011
@martianmartian
Copy link

So is the current version socket.io able to solve this problem of mem leak after discoonection? Automatically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants