We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
从 0.9.3 版本开始,build 过程内存占用超过 2G,远超之前版本的 200M,在小内存的机器上编译会卡死(比如阿里云 2C2G 的 ECS)。这应该是更新 sonic 版本导致的。
To Reproduce
在下面的环境中,按官方文档建立项目然后 build。
Hertz version:
0.9.3
Environment:
GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/root/.cache/go-build' GOENV='/root/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/root/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/root/go' GOPRIVATE='' GOPROXY='https://goproxy.io,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.22.1' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/dev/null' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1850972119=/tmp/go-build -gno-record-gcc-switches'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
从 0.9.3 版本开始,build 过程内存占用超过 2G,远超之前版本的 200M,在小内存的机器上编译会卡死(比如阿里云 2C2G 的 ECS)。这应该是更新 sonic 版本导致的。
To Reproduce
在下面的环境中,按官方文档建立项目然后 build。
Hertz version:
0.9.3
Environment:
The text was updated successfully, but these errors were encountered: