I am running a nodejs app in heroku, and on certain datasets i'm going over the heroku memory limit of 512MB. I'm running node v0.6.6 with defaults. I can see via node's process.memoryUsage() that my RSS value does indeed go as high as 544MB on my test dataset, and ps shows similar results.
What V8 GC settings would you recommend in order to keep the RSS lower? Are there any known memory behavior improvements of moving to node v0.6.20 or v0.8.3 that would help me here? As an aside, running the same test locally (same node version, same code, same data) only hits a max RSS of 155MB, almost a factor of 4 different. Both are x86_64 machines, although my local machine is OSX Lion (11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64) while heroku is Linux 2.6 (2.6.32-343-ec2 #45+lp929941v1 SMP Tue Feb 21 14:07:44 UTC 2012 x86_64 GNU/Linux). Any ideas why that is? Thanks. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
