On Mon, Sep 20, 2021 at 9:20 AM Glen Newton <glen.new...@gmail.com> wrote: > > The maximum size for any single embedded file as []byte is 4GB. What is the > total maximum size for all embedded files included this way in a Go binary? > Also, are there any platform dependencies?
The total maximum size for all embedded files depends on what the platform is able to support. And, yes, there are platform dependencies. Most 32-bit platforms can't support a total size larger than 2G. Most 64-bit platforms have much larger limits, though I don't know specifically what they are offhand. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXp0HtYWn3%3D52Etj-KVO%2BMYNDMZ1VXBPS7XB_xM3ywUMA%40mail.gmail.com.