ProcessTree.totalMemory

ulong totalMemory()

Calculates total memory usage of all processes in the tree.

Returns

The sum of RSS memory of all processes in bytes.