On Apr 10, 02014, at 11:39, Reza Razavipour <[email protected]> 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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to