23

Rust analyzer and compilation are very slow. My system is heating up, running out of ram and disk space. I have 8 GB ram.

I use helix editor.

you are viewing a single comment's thread
view the rest of the comments
[-] BB_C@programming.dev 5 points 15 hours ago
  • Use zram so swapping doesn't immediately slow things to a crawl.
  • Use cargo check, often. You don't need to always compile.
  • Add a release-dev profile that inherits release, use cranelift for codegen in it, and turn off lto.

Otherwise, it would be useful to know what kind of system you're running, and how is the system load without any rust dev involvement. It would also be helpful to provide specifics. Your descriptions are very generic and could be entirely constructed from rust memes.

this post was submitted on 06 Mar 2026
23 points (100.0% liked)

Rust

7832 readers
60 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS