The garbage collector only runs when your program creates garbage -- the more your program allocates, the harder the garbage collector will work.
On Thursday, 10 November 2016 15:31:24 UTC+11, vyasgir...@gmail.com wrote: > > Is there a way to overwork the garbage collector in go lang? > -- 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.