4 ms·
It wasn't long ago RA was consuming over 24GB for my main workspace. They've been working on memory use and it dropped to ~7.5GB for a while but the last coupl
by Fluorescence 1mo ago
It wasn't long ago RA was consuming over 24GB for my main workspace.
They've been working on memory use and it dropped to ~7.5GB for a while but the last couple of releases have been nudging up again - currently 9.4GB without major change in the workspace.
It becomes an obstacle on a 64GB machine given I work with multiple workspaces open e.g. for the crates I am using, example projects, other branches etc. so I have to start/stop it when I just want basic type-info/navigation. Trialling a different editor alongside my current one becomes prohibitive when it's going to want another 10GB for it's own RA instance.
99% of the code isn't changing so disk caching does seem like a no-brainer like back in the 90s with intellisense .ncb files... just without the regular corruptions though!
- afdbcreid 1mo agoWe're still working on it! The last release had https://github.com/rust-lang/rust-analyzer/pull/23079 https://github.com/rust-lang/rust-analyzer/pull/23079 which is a significant savings, and I already have more baking (some even have a PR). We're also working to resolve the issues with `rowan` (it's a GSoC project), which should give another major saving.