Replies: 1 comment
-
Given the size of the Go project, I am not too surprised by the memory usage - Gopls basically parses and loads all the type information of files in the module even when opening a single file of a big module. Gopls team has some ideas to reduce the memory usage further. cc @findleyr |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have heard that gopls will try to parse or load almost everything in memory, so not sure whether it is intended or beyond the design and post here before sumbiting a issue(similar issue: #1859).
reproducing steps:
ctrl + shift + N
to open a new window in VSCode.proof:
// open rewritegeneric.go
// open rewritegeneric.go and src/cmd/compile/main.go
Beta Was this translation helpful? Give feedback.
All reactions