BTW, I think we do need a GrowCurrentStackTo API, to avoid predicted several stack copies in stack growing.
On Monday, July 24, 2017 at 9:51:22 PM UTC-4, taozle wrote: > > my mistake, i mean the *max* stack size is 1gb which i saw it here > <https://golang.org/pkg/runtime/debug/#SetMaxStack>, not the default > stack size. Sorry for confusing > > On Tue, Jul 25, 2017 at 7:33 AM Florin Pățan <flori...@gmail.com > <javascript:>> wrote: > >> Iirc the default stack size is 2 or 4 kb not 1 gb. Where did you found >> the reference? >> >> -- >> 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 <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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. For more options, visit https://groups.google.com/d/optout.