On Sun, Sep 16, 2012 at 9:55 PM, Brian Gruber <webbr...@gmail.com> wrote: > I get a similar issue using socket.io with WEBSOCKET transport enabled. It > also appear that RSS grows to fill up available memory but doesn't seem to > hit an OOM. It just stays at a very high memory usage. On a 2gig machine it > climbs to like 1960mb and is quite scary. > > I've tried node up to 0.8.9 and still happens.
That's intentional. The V8 garbage collector tries very hard to do as few sweeps as possible and it does that by growing the heap where possible. The larger the heap is, the less V8 has to scavenge for memory when new objects are created. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en