Rust: Investigating a Strange Out-of-Memory Error.
We discovered the hard way that when backtrace is enabled, the anyhow library is capturing a backtrace on every error. Only when printing this error in debug format!(”err: {:?}”, error) backtrace’s symbols are resolved to human-friendly names, thus leading to a significant memory increase for your application.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.