Skip to content

Commit 441a499

Browse files
committed
doc: adds more clarity on rss
A little more clarity on `rss` to help people disambiguate it from the virtual memory size. Refs: #16566 (comment)
1 parent cea1c2d commit 441a499

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/process.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1282,8 +1282,9 @@ Will generate:
12821282

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

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

0 commit comments

Comments
 (0)