Skip to main content

heap_dump

Function heap_dump 

Source
pub async fn heap_dump() -> impl IntoResponse
Expand description

Trigger a jemalloc heap profile dump.

Requires the binary to be built with –features heap-profiling and run with MALLOC_CONF=prof:true environment variable.

The dump file will be written to /tmp/heap_dump_.prof