-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
NixOS/nixpkgs
#62725Labels
FrozenDueToAgePerformanceToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version devel +a10b4cff91 Sun Feb 17 04:46:20 2019 +0000 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users\mattn\AppData\Local\go-build set GOEXE=.exe set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=C:\Users\mattn\go set GOPROXY= set GORACE= set GOROOT=C:\go set GOTMPDIR= set GOTOOLDIR=C:\go\pkg\tool\windows_amd64 set GCCGO=gccgo set CC=gcc set CXX=g++ set CGO_ENABLED=1 set GOMOD= set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\mattn\AppData\Local\Temp\go-build232338458=/tmp/go-build -gno-record-gcc-switches
What did you do?
Install gopls from latest x/tools/cmd/gopls, open daemon.go with vim-lsp.
And send textDocument/completion request from vim-lsp.
What did you expect to see?
In my personal experience, I thought gopls take about 500-800MB memory usage.
What did you see instead?
gopls take 3.5 GB memory usage.
koron, pwaller, wingyplus, dohq, rportugal and 39 morejosharian, Alam3035, jlucktay, buoto, huapox and 1 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgePerformanceToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.