Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: internal compiler error: bvbulkalloc too big #26560
What version of Go are you using (
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
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.