-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/compile: internal compiler error: bvbulkalloc too big #26560
Comments
This is also a problem at tip. It's the really big There are things we can do that might fix this, like #26552. Unfortunately, they will be 1.12 at best. But if you want to make progress now, you might try reorganizing your code. Use a slice as the underlying data structure and copy it into a map in an |
@randall77 Thanks for your answer, i put it into |
@randall77 - Since OP has resolved the issue, do we want to track this separately or mark as dup of #26552 ? |
Let's track this separately. #26552 might fix it but I'm not sure. |
This seems fixed at tip. CL 140301 helped, but even without that CL tip can compile the OP's code (which is now the commented-out initializer in that github repository, right?). So something else has helped also, not sure what. It does still take ~4GB or so to compile, but the live variable map is not >2^31 any more. I'm going to close this now. #26552 might help some more, but we're ok for now. |
What version of Go are you using (
go version
)?go version go1.11beta2 linux/amd64
Does this issue reproduce with the latest release?
using
go version go1.10.3 linux/amd6
gets the same error.What operating system and processor architecture are you using (
go env
)?What did you do?
go run github.com/meilihao/pinyin/blob/master/example/case.go
What did you expect to see?
go run
orgo build
can work.What did you see instead?
The text was updated successfully, but these errors were encountered: