-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: too many memory usage #37759
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
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
Thanks for reporting this issue and for providing the heap profile! I took a look at it, and this seems to be the same issue as #37670. Unfortunately, my response is the same as @heschik's in the issue (#37670 (comment)):
We'll work on an approach for improving this in |
Thanks for your reply! Should i keep this issue open? |
Thanks for following up. I think this issue can be closed and marked as a duplicate of #37670. |
Duplicate of #37670 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputGO111MODULE="auto"
GOARCH="amd64"
GOBIN="/Users/wutianhong/go/bin"
GOCACHE="/Users/wutianhong/Library/Caches/go-build"
GOENV="/Users/wutianhong/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/wutianhong/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/dj/qmfvb5s5595grm_pn25n40100000gn/T/go-build406632642=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
emacs config

What did you expect to see?
less memory usage instead of 8.53GB
What did you see instead?
heap profile
pprof.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
Ref: #36943
The text was updated successfully, but these errors were encountered: