This is a somewhat known issue. Each token in a parsered .go file is
represented by a Node structure inside the program. The Node structure is
large, especially on 64 bit systems.
Normally this is not a problem, but in th e case where code has large tables of
data memory usage when compiling c
Hi,
so I was trying to embed JS and HTML assets in a Go file using go-bindata
and ended up with a Go file of 4Mib, and I noticed compiling it consumes
all my system's memory.
I'm on Windows and using the resource monitor I can see compile.exe memory
usage grow to more than 15Gib in a couple of