You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gc.heapSize is subject to rounding on the order of MBs #13336
It's hard to observe changes in the collectability of heap objects with NIX_SHOW_STATS.
gc.heapSize would be the measurement for this, but it is too coarse grained, and doesn't accurately reflect heap changes due to changes in expressions.
We're using this (through the _safe call instead):
Includes empty blocks and fragmentation loss. Includes some pages that were allocated but never written.
Dig through the stats, and/or the code that produces it to figure out if we can get a better number that measures memory retention in a more fine grained manner.
Activity
roberth commentedon Jun 8, 2025
It would also be good to have separate stats for max heap size and final heap size, if possible.