diff --git a/docs/javascript-memory-profiling.md b/docs/javascript-memory-profiling.md index 0bb817d..4d46ac2 100644 --- a/docs/javascript-memory-profiling.md +++ b/docs/javascript-memory-profiling.md @@ -170,6 +170,8 @@ The memory graph starts with a root, which may be the `window` object of the bro Whatever is not reachable from the root gets GC. +

Note: Both the Shallow and Retained size columns represent data in bytes.

+ ### Object's Retaining Tree As we introduced earlier, the heap is a network of interconnected objects. In the mathematical world, this structure is called a *graph* or memory graph. A graph is constructed from *nodes* connected by means of *edges*, both of which are given labels.