Rust LSP freezes pc #14031
Unanswered
sumit-modak
asked this question in
Troubleshooting
Rust LSP freezes pc
#14031
Replies: 1 comment 4 replies
-
Are you using the default settings for rust-analyzer? I had an issue before when using the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When a pretty large
dioxus
crate is opened, e.g. https://github.com/DioxusLabs/docsite rust-analyzer completely freezes the whole pc, the cpu and memory usage exceeds upto its limit (I have 12 CPUs and 7.11 GiB of RAM). Even if I accidentally open a file from other terminal instance I have to restart my pc again. Using rust-analyzer with such dioxus crate is impossible (atleast in my pc). I hope there would be a way to fix it.I tried opening btop while rust-analyzer is running, there were more than 8-9 rustc instances running parallelly and each of them was taking around 200MB of RAM on an average.
Beta Was this translation helpful? Give feedback.
All reactions