pub const MEMORY_SNAPSHOT_ROOT_DETAIL_CAP: usize = 8;Expand description
Cap on per-root detail entries in serialized snapshots. Process totals
always cover every root; only the per-root breakdown is capped so a
many-root daemon process cannot balloon the status payload past
downstream consumers’ size limits (the daemon metrics cache truncates
around 27 KB, and JSON keys serialize alphabetically, so an oversized
memory.roots map pushes later sections past the cut).