thanks for the response. Any useful reference to learn about V8's heap ?
On Thursday, April 10, 2014 8:41:23 AM UTC-7, Aria Stewart wrote: > > On Apr 10, 02014, at 11:39, Reza Razavipour > <reza.ra...@gmail.com<javascript:>> > wrote: > > > So one allocates memory, new and many of these and when does the cleanup > take place? > > Lazily; it’s a generational garbage collector, so some small and new > things get collected quickly; old things tend to get cleaned up a bit less > often. > > > When you start a node process, you can specify a maximum amount of > memory for the life of the process. Does the whole thing get allocated at > start up? > > No. And that’s just a limit for V8’s heap, and doesn’t count toward some > of Node’s structures. > > Aria > -- -- 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/d/optout.