Skip to content

Commit

Permalink
doc: adds more clarity on rss
Browse files Browse the repository at this point in the history
A little more clarity on `rss` to help people disambiguate it from
the virtual memory size.

Refs: #16566 (comment)
  • Loading branch information
profnandaa committed Oct 28, 2017
1 parent cea1c2d commit 441a499
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1282,8 +1282,9 @@ Will generate:

`heapTotal` and `heapUsed` refer to V8's memory usage.
`external` refers to the memory usage of C++ objects bound to JavaScript
objects managed by V8. `rss`, Resident Set Size, is the total space allocated in
memory for the process, which includes the _heap_, _code segment_ and _stack_.
objects managed by V8. `rss`, Resident Set Size, is the amount of space
occupied in the main memory device (that is a subset of the total allocated
memory) for the process, which includes the _heap_, _code segment_ and _stack_.

The _heap_ is where objects, strings and closures are stored. Variables are
stored in the _stack_ and the actual JavaScript code resides in the
Expand Down

0 comments on commit 441a499

Please sign in to comment.