#allocator #tracking #process #staging

staging-tracking-allocator

Tracking allocator to control the amount of memory consumed by the process

2 releases (1 stable)

new 1.0.0 Nov 20, 2023
0.0.0 Nov 9, 2023

#321 in Concurrency


Used in 3 crates (via polkadot-node-core-pvf-pr…)

GPL-3.0-only

9KB
170 lines

Tracking/limiting global allocator. Calculates the peak allocation between two checkpoints for the whole process. Accepts an optional limit and a failure handler which is called if the limit is overflown.

No runtime deps