-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/gopls: go list causes 100% CPU load #39116
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
You didn't write so, but I'm guessing you're using the go lsp? And that EDIT: oh sorry, you did write you updated gopls. I tagged this correctly then. |
@kzhui125: Are you using modules or GOPATH mode? What was the root directory you opened |
I opened two VSCode windows (two small repos). One use go modules, another one only has one go file, didn't run "go mod init" yet. When I run I will see if I meet this issue again in the future. Thanks. |
@kzhui125: Have you encountered this issue again, or can this be closed? |
Did not encounter this problem again, thanks. |
Unfortunately, I'm running into this now. Here's the command that's running:
Roughly the steps I took:
|
@matthewmueller: Do you mind opening a new issue, possibly with a @heschik: I believe you had previously looked into these issues (and resolved them with the |
Hey @stamblerre I just opened another issue: #42132 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I just use VSCode to edit go files.
What did you see instead?
I see the CPU fan is loud. then I see the "go" process use 100% CPU. After I quit VSCode, the "go" process still use 100% CPU. maybe the recent update of gopls is related?
Now I have force quit the "go" process, since the CPU fan is loud.
The text was updated successfully, but these errors were encountered: