Skip to content

exceptionally high cpu usage #17383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Milo123459 opened this issue Jun 10, 2024 · 1 comment
Closed

exceptionally high cpu usage #17383

Milo123459 opened this issue Jun 10, 2024 · 1 comment
Labels
C-bug Category: bug

Comments

@Milo123459
Copy link
Contributor

rust-analyzer version: rust-analyzer version: 0.3.1992-standalone (b427d46 2024-06-09) [/Users/milo5/.vscode/extensions/rust-lang.rust-analyzer-0.3.1992-darwin-arm64/server/rust-analyzer]

rustc version: (rustc 1.78.0 (9b00956e5 2024-04-29)

editor or extension: vscode, rust-analyzer

relevant settings: "rust-analyzer.cargo.allFeatures": true,
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": true,
"rust-analyzer.inlayHints.lifetimeElisionHints": "always",

repository link (if public, optional): n/a

code snippet to reproduce:
n/a

running on a regular project causes 900% CPU usage which never drops, and it never actually provides information to me (ie, everything says Loading). I've had to downgrade to continue working.

another thing, telling rust analyzer to stop the server or restart doesn't work, saying it took too long to respond.

@Milo123459 Milo123459 added the C-bug Category: bug label Jun 10, 2024
@lnicola
Copy link
Member

lnicola commented Jun 10, 2024

Duplicate of #17378.

@lnicola lnicola closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants