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