Back to Rerun

Run-time memory tracking and profiling.

crates/utils/re_memory/README.md

0.31.4950 B
Original Source

Run-time memory tracking and profiling.

Part of the rerun family of crates.

This is a library for tracking memory use in a running application. This is useful for tracking leaks, and for figuring out what is using up memory.

re_memory includes an opt-in sampling profiler for allocation callstacks. Each time memory is allocated there is a chance a callstack will be collected. This information is tracked until deallocation. You can thus get information about what callstacks lead to the most live allocations, giving you a very useful memory profile of your running app, with minimal overhead.