How to estimate number of bytes in free, mapped pages in page heap
Author: nezdolikCreated Apr 12, 2025Updated Mar 26, 2026
Hi, would it be correct to use **`"stats.arenas.{}.extent_avail"`** with **`MALLCTL_ARENAS_ALL`** to estimate the number of bytes in free, mapped pages in page heap (e.g. bytes that can be used to fulfill allocation requests)? Or do we also need to account for **`"stats.arenas.<i>.extents.<j>.dirty_bytes"`**?
Source: jemalloc/jemalloc