#tracking #memory-allocator #process-memory #limit #handler #memory-tracking #global-allocator #checkpoint

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

#762 in Memory management

Download history 901/week @ 2025-11-13 941/week @ 2025-11-20 1034/week @ 2025-11-27 988/week @ 2025-12-04 783/week @ 2025-12-11 740/week @ 2025-12-18 650/week @ 2025-12-25 815/week @ 2026-01-01 557/week @ 2026-01-08 629/week @ 2026-01-15 636/week @ 2026-01-22 718/week @ 2026-01-29 700/week @ 2026-02-05 591/week @ 2026-02-12 705/week @ 2026-02-19 657/week @ 2026-02-26

2,788 downloads per month
Used in 7 crates (2 directly)

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