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.
edit: thank you for all your suggestions. I am breaking up the project into smaller crates to see if that makes a difference.
I got the biggest improvements from zram and sccache. With zram my memory usage stays at 90% instead of fully running out when rust-analyzer starts.


that is too much. i use something with 900ish, and even withh cached builds, it takes like 20 mins, we just have too much linking going on
Couldn’t agree more here, 1k dependencies would take a while to build even on my 9950x3d if only due to linking.
It seems to me like the the issue is the project is either too bloated, or large enough to justify a workstation build. Breaking it into smaller, independent parts would also help here.
Thanks that’s a great idea. I will try breaking it up into crates.