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 #38752

stamblerre opened this issue Apr 29, 2020 · 2 comments


Copy link

@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)


Local changes:

/cc @heschik

Copy link

@knz knz commented Jun 15, 2020

This issue has been addressed: #38080

which seems to reduce RAM usage considerably.

Copy link

@heschik heschik commented Jun 15, 2020


@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
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.