Description
Reads process memory usage from Ruby code so applications and tests can observe how much memory a process is consuming. It is useful for diagnostics, performance checks, and leak investigations.
Memory measurements vary by platform and process state. Treat them as diagnostic signals, not exact business logic, and avoid exposing process details in public logs.