Skip to content

miniproto.observability.process_rss_bytes

process_rss_bytes() -> int | None

Return current Windows working set or process lifetime peak Unix RSS in bytes.

Returns:

  • int | None – The Windows WorkingSetSize or Unix ru_maxrss counter, including macOS, normalized to bytes. Return None when the platform cannot provide it.