rerun-io--rerun
18 行
951 B
Markdown
18 行
951 B
Markdown
# Run-time memory tracking and profiling.
|
|
|
|
Part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates.
|
|
|
|
[](https://crates.io/crates/re_memory)
|
|
[](https://docs.rs/re_memory)
|
|

|
|

|
|
|
|
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.
|