Brandon's answer here is the best I've seen. http://stackoverflow.com/questions/20842730/why-does-nodejs-memory-keeps-on-growing-in-this-test
Shawn Parrish NodePing https://nodeping.com Server monitoring, including websocket and socket.io On Tue, Apr 22, 2014 at 9:28 AM, Darren Whitlen <[email protected]> wrote: > Hi, > > There have been several memory related posts in the past, a lot of them with > fixes and even more without getting to any conclusion. > > Here is a memory graph of one of my production server instances for a nodejs > process: http://i.imgur.com/25c0fih.png > > What happens is that that the RSS memory continues to grow until it reaches > just under the 1GB mark, then idles around that area without ever dropping. > The heap is always between 100-200mb in size. > > This happens on all my servers running Ubuntu 12.04; Nodejs version 0.10.26 > installed from the PPA mentioned on the wiki page "Installing Node.js via > package manager". > > My question is, *why* would the RSS memory size keep increasing upto 1GB > while the heap stays as low as 200mb and *how* can I find out the cause so I > can resolve the issue? > > Thanks, > Darren > > -- > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > 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]. > For more options, visit https://groups.google.com/d/optout. -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- 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]. For more options, visit https://groups.google.com/d/optout.
