go: runtime: memory leaked observed in go program
What version of Go are you using (go version
)?
go1.14.3
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 GO111MODULE= set GOARCH=arm set GOBIN= set GOCACHE=C:\Users\irhpoq\AppData\Local\go-build set GOENV=C:\Users\irhpoq\AppData\Roaming\go\env set GOEXE= set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GONOPROXY= set GONOSUMDB= set GOOS=linux set GOPATH=D:\Karthik\Skills\Golang\GolangTraining-master set GOPRIVATE= set GOPROXY=https://proxy.golang.org,direct set GOROOT=c:\go set GOSUMDB=sum.golang.org set GOTMPDIR= set GOTOOLDIR=c:\go\pkg\tool\windows_amd64 set GCCGO=gccgo set GOARM=7 set AR=ar set CC=gcc set CXX=g++ set CGO_ENABLED=0 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=-fPIC -marm -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\irhpoq\AppData\Local\Temp\go-build018000050=/tmp/go-build -gno-record-gcc-switches
What did you do?
What did you expect to see?
RSS memory should not keep increasing
What did you see instead?
RSS memory was keep increasing. It increased from 4472 KB to 4648 KB in 15 mins
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 64 (24 by maintainers)
This is a facility of the Go runtime, non Go programs may not respond to this signal.
@santhoshkarthi once your program has leaked will you please send SIGQUIT to it; you can do this with the command
where
$PID
is the process id of your server program. This will dump a large amount of information, please include all of it.