My app is seeing the same problem, memory blowing up after some time and then CPU going to 100%. We've been using socket 1.x since mid August, so that doesn't solve it. Does anyone have any ideas as to what to try next?
For us, a partial fix was to make sure that we only use websockets as a transport mechanism. We are still leaking memory, but much less so than before. If websockets suit your app, the line you need to configure them is this: io.connect(serverUrl, { transports: ['websocket'] }) I'd like to make sure I get rid of the leak completely though. Any help would be appreciated. On Friday, September 26, 2014 2:43:02 AM UTC-5, greelgorke wrote: > > i know, it might be not what you want to hear, but socket.io has had a > 1.0 release, which was a bigger step and should have solved many problems > ppl had with 0.9 version, so may be you want to update? i'm not sure about > if the maintainer want to support the know as buggy version, you should > update anyway soon. > > Am Donnerstag, 25. September 2014 05:35:45 UTC+2 schrieb milesdong: >> >> 0.9.14, Same version as yours. Memory can easily bolw up to 1.8G under >> 10000 connections. >> >> On Tuesday, September 23, 2014 10:28:29 AM UTC+8, 张大伟 wrote: >>> >>> Hi >>> Our team is now facing this problem, that a big memory leak, when >>> sixteen users visit our website, the memory was rose 350 MB :( >>> and the version of the socket.io that we use is 0.9, which version you >>> are using. >>> >>> >>> -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/75b09fa7-9a5f-4326-82d9-b611a609d505%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.