-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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: massive cpu and memory usage #46897
Comments
Duplicate of #45363? |
@TheSecEng: Can you please follow the troubleshooting guide here and share your |
@stamblerre I did the logfile command, however it just logs the LSP commands. And that contains private code that I can't just post here. What are we looking for exactly? Also, my TMPDIR has this in it
|
If you can redact out the private pieces of information, it would still be helpful to see. The |
@bcmills yes, this seems like a duplicate to me |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes - With go1.16.4 as well
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Start gopls in a mono-repo and begin working
What did you expect to see?
gopls should function properly within a mono-repo. Memory and CPU usage should plateau and no longer climb and slow down the entire machine
What did you see instead?
go and gopls climb in memory and CPU usage till the point I must completely close and restart all go/gopls instances. This is within a single mono repo that is using vs 1.15.7 but is reproducible on the latest gopls and go version.
The text was updated successfully, but these errors were encountered: