Closed cemoktra closed 5 months ago
adding to this the CPU load of the main process. i can wait forever, it will never react again. at some the rust analyzer processes finish but the CPUI load of main process stays
1692895 cemokta │ pts/6 219.2 5.6 00:00:56 00:00:56 │ Zed >
1693533 cemokta │ pts/6 150.7 4.1 00:01:07 00:01:07 │ /home/cemokta/.local/share/zed/languages/rust-analyzer/ru>
1696835 cemokta │ 98.7 0.6 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696028 cemokta │ 76.2 1.1 00:00:04 00:00:04 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696808 cemokta │ 67.3 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696609 cemokta │ 67.3 0.8 00:00:01 00:00:01 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696816 cemokta │ 67.3 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696799 cemokta │ 67.3 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1695974 cemokta │ 58.3 1.1 00:00:05 00:00:05 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696719 cemokta │ 53.8 0.7 00:00:01 00:00:01 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696785 cemokta │ 49.3 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696847 cemokta │ 49.3 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696856 cemokta │ 49.1 0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1696854 cemokta │ 40.4 0.5 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
1693582 cemokta │ pts/6 22.8 0.3 00:00:03 00:00:03 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
Happens on Linux as well, such as when running cargo add or remove. However it does seem to recover after it is done.
like comment
@someone13574 for me it does not recover
This has been consistent with me on Arch Linux. After cargo run --release
I simply do not touch the UI when it launches, for about 5-6 seconds.
I have had Budgie desktop crash a couple times when I tried to start working with Zed immediately after window launch. I did not dig in if this was specifically due to Zed, but the crashes do not happen otherwise.
I am on a 2022 Asus Zephyrus G15, so plenty of CPU, GPU and RAM.
I believe this is a dupe of
For me this is not resolved. I pulled the latest main this morning and tried but it still hangs
Check for existing issues
Describe the bug / provide steps to reproduce it
I open a huge project and with rust analyzer starting the CPU usage of the main thread goes up and system tells me that Zed is not responding
Environment
Zed: v1.0.0 (Zed Dev 6276281e8af32cbb76d2e827c1fca0f6cdfcc8ca) OS: Linux 1.0.0 Memory: 31.1 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.