#memory #process-memory #allocator #tracking #allocation #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

#644 in Memory management

Download history 184/week @ 2024-11-16 101/week @ 2024-11-23 137/week @ 2024-11-30 195/week @ 2024-12-07 145/week @ 2024-12-14 66/week @ 2024-12-21 44/week @ 2024-12-28 106/week @ 2025-01-04 113/week @ 2025-01-11 156/week @ 2025-01-18 174/week @ 2025-01-25 183/week @ 2025-02-01 188/week @ 2025-02-08 147/week @ 2025-02-15 154/week @ 2025-02-22 155/week @ 2025-03-01

709 downloads per month
Used in 4 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