#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 17/week @ 2024-02-12 32/week @ 2024-02-19 69/week @ 2024-02-26 22/week @ 2024-03-04 23/week @ 2024-03-11 18/week @ 2024-03-18 6/week @ 2024-03-25 63/week @ 2024-04-01 23/week @ 2024-04-08 5/week @ 2024-04-15

99 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–14MB
~155K SLoC