lighthouse-pulse/common/malloc_utils
Michael Sproul 229542cd6c Avoid negative values in malloc_utils metrics (#2692)
## Proposed Changes

While investigating memory usage I noticed that the malloc metrics were going negative once they passed 2GiB. This is because the underlying `mallinfo` function returns a `i32`, and we were casting it straight to an `i64`, preserving the sign.

The long-term fix will be to move to `mallinfo2`, but it's still not yet widely available.
2021-10-11 00:10:34 +00:00
..
src Avoid negative values in malloc_utils metrics (#2692) 2021-10-11 00:10:34 +00:00
Cargo.toml Modify Malloc Tuning (#2398) 2021-06-09 02:30:06 +00:00