Hello,

Few hours after switching to Node 0.12, RSS in my node process in 
production started quickly climbing to 1GB. With Node 0.10, my node 
process's RSS hovers around 300MB and rarely goes up to 500MB. When I 
switched back to Node 0.10, memory was back under control.  

I reproduced the problem locally by making a bunch of parallel requests to 
my server. RSS on Node 0.10 maxed out at around 700MB, and dropped to 
~500MB after the requests stopped. But with Node 0.12, memory stayed at 
around 1.2GB for many minutes after requests stopped. I called global.gc() 
couple of minutes after stopping requests. 0.12 dropped to 600MB and 0.10 
dropped to around 300MB. When I called global.gc() a few more times, RSS on 
0.12 will eventually drop to around 300MB.

Is the garbage collector on Node 0.12 less aggressive? Is this an intended 
side-effect of switching to 0.12? I couldn't find any information regarding 
this in the release notes too.

Thanks,
Sanath

PS: I looked at heap dumps before and after local repro requests. I didn't 
find anything alarmingly growing or wrong.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/b793f3a8-fd38-4aaf-8f5f-0df923c1d45a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to