Is there a big difference between heapUsed and heapTotal on your app?

If you seem big difference try rolling nodejs build forward to V8 3.11.10.13.

--
Vyacheslav Egorov


On Wed, Jul 18, 2012 at 4:01 AM, wavded <[email protected]> wrote:
> Thanks for clarification Ben.  That makes sense and the 51 MB I was
> referring to was the heapUsed value which was just one part of the picture
> as I just learned.  What typically takes up the most memory outside of the
> V8 heap?  Open file descriptors? (in this particular app I'm making a lot of
> HTTP requests).  Anyway to tap into that information?
>
>
> On Tuesday, July 17, 2012 8:52:03 PM UTC-5, Ben Noordhuis wrote:
>>
>> On Wed, Jul 18, 2012 at 3:35 AM, wavded <[email protected]> wrote:
>> > mscdex, question about that, I have a process running at 370 some MB in
>> > RES
>> > (in TOP) but the output from process.memoryUsage() is 51 MB.  Any clues
>> > on
>> > that?  I know Linux memory management is weird but I have been relying
>> > on
>> > process.memoryUsage().  What is it actually?
>>
>> $ node -pe 'process.memoryUsage()'
>> { rss: 6701056, heapTotal: 3018752, heapUsed: 1587360 }
>>
>> rss is what node thinks the RSS is (may not quite match what external
>> tools report - it's complicated).
>>
>> heapTotal and heapUsed relate to the V8 heap, not the global heap.
>
> --
> 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

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