#memory #allocator #process #allocation #tracking #control

staging-tracking-allocator

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

3 releases (stable)

2.0.0 Jan 23, 2024
1.0.0 Nov 20, 2023
0.0.0 Nov 9, 2023

#277 in Memory management

Download history 11/week @ 2024-01-20 13/week @ 2024-02-17 37/week @ 2024-02-24 8/week @ 2024-03-02 14/week @ 2024-03-09 3/week @ 2024-03-16 4/week @ 2024-03-23 43/week @ 2024-03-30 4/week @ 2024-04-06

51 downloads per month
Used in 3 crates (via polkadot-node-core-pvf-pr…)

GPL-3.0-only

10KB
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