#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

#15 in #watcher

Download history 1/week @ 2024-06-17 22/week @ 2024-06-24 9/week @ 2024-07-01 16/week @ 2024-07-08 38/week @ 2024-07-15 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

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
~152K SLoC