On Tue, Apr 10, 2012 at 17:54, Romain <[email protected]> wrote:
> Memory increase it's ok.
>
> But I was thinking that the memory allocated by all the console.log would be
> free after 5 minutes of idle time.
>
> I don't understand why I need to segment the loop, if I wait a very long
> time after the loop.

Oh, that's another thing: RSS doesn't work like that. free()ing memory
doesn't mean it's returned to the operating system. The reasons for
that are kind of complicated but google for keywords like 'heap
fragmentation' or 'memory pressure' and you'll understand why.

The bottom line is that RSS is not a very reliable metric for
measuring a program's actual memory usage.

-- 
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

Reply via email to