Marcel , I forgot to mention that. This option in node is actually --max_old_space_size according to the node's manpage, but not work for me when greater than ~2G.
During my search and test, I found this option only useful to remove the soft limit in old days (say node 0.6). It likely because that the old version v8 has an 512MB limit on 32bit and 1G limit on 64bit. But latest 64bit v8 seems no longer holding this soft limit. So it may not work for me, unless I miss something. My test commands are: node --max-old-space-size=8192 speedTestRaw.js node --max_old_space_size=8192 speedTestRaw.js Both make no difference, and terminate about 10M. On Friday, August 23, 2013 1:54:05 AM UTC+8, Peter Rust wrote: > > Marcel, > > Good point. That was mentioned in the v8-users discussion I linked to ( > https://groups.google.com/forum/#!topic/v8-users/jrw3Eh2cO4U) -- I should > have called attention to it. It doesn't seem like an optimal solution > (there is a garbage collection performance penalty, v8 is creating static > classes under the hood, etc), but it should be a quick fix... > > -- peter > -- -- 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 --- 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.