lighthouse/common/malloc_utils/src
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
..
glibc.rs Avoid negative values in malloc_utils metrics (#2692) 2021-10-11 00:10:34 +00:00
lib.rs Tune GNU malloc (#2299) 2021-05-28 05:59:45 +00:00