On Dec 21, 2012, at 01:36, Luca Morandini wrote: > I'm trying to limit the size of the memory used by Node, but it seems to > ignore that limit. > > The enviroment is Node.js v0.6.19 on Kubuntu 12.10 x64, while the command > given is: node --max-old-space-size=64 src/lib/app.js > > Now, the top commands reveals memory use of up to 189MB (RAM, virtual memory > is of course higher, around 900MB), not the 64MB I expected.
--max-old-space-size sets the size of memory that garbage could occupy before it is garbage collected, not the total amount of memory nodejs can occupy. -- 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
