#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

#23 in #watcher

48 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