Skip to content
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: high memory usage with VS Code remote dev in github.com/cockroachdb/cockroach #38752

Closed
stamblerre opened this issue Apr 29, 2020 · 2 comments
Labels
Milestone

Comments

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Apr 29, 2020

Report on Slack:

huh, has anyone seen gopls taking 25+ 35 GiB of ram / getting OOMKilled?
strangely, it seems fine run locally on my laptop, where I only have 16gb total, but when I use VSCode’s remote dev feature, checking out the exact same codebase, but on a much bigger and beefier cloud VM, it gets OOMkilled a couple times a day with reported vm of 35GB. (edited)

Profiles:
gopls.30591-26GiB-goroutines.txt
gopls.30591-26GiB-heap.pb.gz

Local changes: https://github.com/cockroachdb/cockroach/compare/master...dt:gopls-oom?expand=1

/cc @heschik

@knz
Copy link

@knz knz commented Jun 15, 2020

This issue has been addressed: #38080

which seems to reduce RAM usage considerably.

@heschik
Copy link
Contributor

@heschik heschik commented Jun 15, 2020

Great!

@heschik heschik closed this Jun 15, 2020
@stamblerre stamblerre modified the milestones: gopls/v0.5.0, gopls/v0.4.2 Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.