pub fn get_rss_bytes() -> u64
Get current process RSS (Resident Set Size) in bytes.
Returns 0 on unsupported platforms (WASM, Windows, etc.). On Linux reads /proc/self/statm; on macOS calls the Mach task_info API.
0
/proc/self/statm
task_info