-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
VS Code crashes after build #19000
Comments
Can you provide the output of the command "rust-analyzer (debug command): Memory Usage (Clears Database)", just before the crash? |
Unfortunately, this doesn't work because it won't even execute the command before crashing. |
But yes, you are right. I looked at the task manager and even after the build is finished, the memory usage still keeps on growing until my 64 GB RAM are full and it crashes. I am only compiling a really small CLI program (<10 MB). |
Which process is using that much memory? |
It is one of the VS Code processes. The rust_analyzer.exe does not consume that much memory. |
Almost always after building using the command
cargo build
VS Code crashes and needs to restart the whole editor (see image).I have the newest versions of the analyzer and rustc installed, but it already happened months ago.
rustc 1.84.0 (9fc6b4312 2025-01-07)
rust-analyzer version: 0.3.2273-standalone (248bd51 2025-01-18)
Any idea how to further investigate this problem?
The text was updated successfully, but these errors were encountered: