pub async fn heap_dump() -> impl IntoResponseExpand 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_