~/talk

“Profiling Rust Memory Usage with jemalloc”

Talkat RustConf 2025 · 2025-09-02..09-05· [web-performance]
links:none on file
slides:none on file

Shows how to get Go-style pprof heap profiles from Rust by using jemallocator crate as the global allocator and the rust-jemalloc-pprof converter to emit pprof-format dumps. Demonstrates configuring jemalloc with its profiling symbol, adding an HTTP handler to trigger heap dumps, and visualizing profiles in Parca. Recreates a toy leak that grows about 1.8 MB/s, produces flame graphs and a memory-over-time chart, and validates that the pipeline yields actionable allocation stacks.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.