#heap #monitor #debugging #control #programs #utility #watcher

heapmon

A heap monitor debugging utility for Rust programs

1 unstable release

0.1.2 Aug 25, 2023

#22 in #watcher

Download history 34/week @ 2024-07-22 31/week @ 2024-07-29 39/week @ 2024-08-05 81/week @ 2024-08-12 47/week @ 2024-08-19 24/week @ 2024-08-26 12/week @ 2024-09-02 10/week @ 2024-09-09 10/week @ 2024-09-16 30/week @ 2024-09-23 25/week @ 2024-09-30 17/week @ 2024-10-07 24/week @ 2024-10-14 13/week @ 2024-10-21 15/week @ 2024-10-28 24/week @ 2024-11-04

76 downloads per month
Used in 2 crates (via vls-proxy)

Apache-2.0

15KB
325 lines

heapmon

A heap monitor debugging utility for Rust programs

Examples

The explicit example controls the heap monitor explicitly:

cargo run --example explicit

The watcher example uses a control file to control the heap monitor. Each time the control file's modification time is updated the enable/disable state of the heap monitor toggles.

In shell #1:

cargo run --example watcher

In shell #2:

touch heapmon.ctl
sleep 30
touch heapmon.ctl

Dependencies

~6–13MB
~151K SLoC