You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\sfq\AppData\Local\go-build
set GOENV=C:\Users\sfq\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\sfq\Documents\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\sfq\Documents\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=C:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.17.1
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\sfq\Desktop\qqqqq\id-validator\go.mod
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\sfq\AppData\Local\Temp\go-build7276215=/tmp/go-build -gno-record-gcc-switches
GOROOT/bin/go version: go version go1.17.1 windows/amd64
GOROOT/bin/go tool compile -V: compile version go1.17.1
gdb --version: GNU gdb (GDB) 8.1
What did you do?
git clone go get -u github.com/guanguans/id-validator go build -gcflags "all=-N -l" github.com/guanguans/id-validator/examples
When I use go version go1.15 windows/amd64,it eats up all my system's memory.
When I change to go version go1.17.1 windows/amd64, It takes a long time to compile, and print out the below information.
PS C:\Users\sfq\Desktop\qqqqq\id-validator> go build -gcflags "all=-N -l" github.com/guanguans/id-validator/examples
# github.com/guanguans/id-validator/data
data\constellation.go:60:6: internal compiler error: NewBulk too big: nbit=66729 count=934227 nword=2086 size=1948797522
Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new
What did you expect to see?
Compile successfully
What did you see instead?
PS C:\Users\sfq\Desktop\qqqqq\id-validator> go build -gcflags "all=-N -l" github.com/guanguans/id-validator/examples
# github.com/guanguans/id-validator/data
data\constellation.go:60:6: internal compiler error: NewBulk too big: nbit=66729 count=934227 nword=2086 size=1948797522
Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new
The text was updated successfully, but these errors were encountered:
The issue is caused by huge map literals like the ones you have in the .go files in the data folder, and I believe this is a dup of #29829 (closed) and #33437 (still open). See in particular #26560 (comment).
The reason the error message is slightly different is that in commit 0ced540bvbulkalloc was renamed to NewBulk. So now it says "NewBulk too big" instead of "bvbulkalloc too big".
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
OutputWhat did you do?
git clone go get -u github.com/guanguans/id-validator
go build -gcflags "all=-N -l" github.com/guanguans/id-validator/examples
When I use
go version go1.15 windows/amd64
,it eats up all my system's memory.When I change to
go version go1.17.1 windows/amd64
, It takes a long time to compile, and print out the below information.What did you expect to see?
Compile successfully
What did you see instead?
The text was updated successfully, but these errors were encountered: