Skip to main content

max_rss_bytes

Function max_rss_bytes 

Source
pub(crate) fn max_rss_bytes() -> Result<i64, Error>
Expand description

Read this process’s peak resident set size, in bytes.

The kernel maintains this high-water mark itself, so it cannot miss a short-lived spike the way a sampled maximum can.