News for hackers. Stuff that matters.
Re:Rust: Investigating an Out of Memory Error by the8472 on Sunday January 19, 2025 @06:33AM (#42756151)
> 2. we compile the binary with debug symbols

symbols are usually included even with debuglevel 0, unless stripped[0]. And debuginfo is configurable at several levels[1]. If you've set it to 2/full try dropping to a lower level, that might also result in less data to load for the backtrace implementation.

[0] https://users.rust-lang.org/t/difference-between-strip-symbo... [1] https://doc.rust-lang.org/cargo/reference/profiles.html#debu...

Re:Rust: Investigating an Out of Memory Error by erebe__ on Sunday January 19, 2025 @07:00AM (#42756298)
Thanks, was not aware there was granularity for debuginfo ;)