Skip to content

High CPU usage (clangd) #176

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
Xayton opened this issue Feb 2, 2024 · 1 comment · Fixed by #177
Closed

High CPU usage (clangd) #176

Xayton opened this issue Feb 2, 2024 · 1 comment · Fixed by #177
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Xayton
Copy link

Xayton commented Feb 2, 2024

If you have a core with a lot of files, that have not been previously indexed, the language server will spawn a lot of threads/processes. This large number of concurrent indexing operations (clangd) will consume all the CPU cores of the machine and slow down the user's machine.

@cmaglie
Copy link
Member

cmaglie commented Feb 5, 2024

PR here: #177

@cmaglie cmaglie self-assigned this Feb 5, 2024
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants