This was traced down to passing very large (multi-MB) types by value. TL;DR, don't do that. See the issue for more details.
On Thursday, November 19, 2020 at 12:59:32 PM UTC-8 ren...@ix.netcom.com wrote: > Based on the OP it is occurring with 1.13,14,15 > > > On Nov 19, 2020, at 2:19 PM, Ian Lance Taylor <ia...@golang.org> wrote: > > > > On Thu, Nov 19, 2020 at 11:34 AM stephen.t....@gmail.com > > <stephen.t....@gmail.com> wrote: > >> > >> I have a reasonably sized project that produces executables that have > ballooned in size between two relatively simple commits. > >> > >> I've tested with three compiler versions and in each case the > executable size is significantly larger in one case than the other. > >> > >> > >> The changes between the two versions amount to 172 insertions and 210 > deletions. No module has changed version. No binary data is embedded in > either version. The only additional import is to a file within the project > and which is imported from many other places. > >> > >> I can live with the new file size if that's the way it has to be, but > it's one heck of leap in size for a seemingly simple change. > >> > >> I've isolated the change and uploaded to a new repository for easy > comparison. I would be very appreciative if someone could help me > understand what is happening. > >> > >> https://github.com/JetSetIlly/Gopher2600-filesize-test > > > > > > What version of Go are you using? > > > > 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...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXkgaP5xDR_2vbVTQ1YHbcjhQdYH0KvM9adwacQJwhz8g%40mail.gmail.com > . > > -- 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/86b9fccd-68e4-4ab1-ba33-2539669b5f63n%40googlegroups.com.