Expand description
Shared reservation arithmetic. Currently the page arena uses this ledger; it is not a whole-process RSS cap. Constrained stores additionally bound WAL/record sizes and allocator bookkeeping counts through ResourceLimits. Exhaustion is fallible, including arithmetic overflow.
Structs§
- Memory
Budget - Reservation
classis not read today –Droponly needsbytesto release the reservation – but everyreservecall already names one, so it is carried here rather than discarded, for a future per-class usage breakdown or a same-class-releases-what-it-reserved assertion.