Memory monitoring tools

Does Rust have a memory monitoring tool to see which structures are taking up how much memory at runtime, as well as stack memory usage?

1 Like

Standard memory profilers for C work with Rust too (valgrind, massif).

You can instrument Rust's allocator

1 Like

Some other good alternatives include

The former can't demangle Rust symbols (except where legacy/default mangling happens to be close enough to C++).

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.