Re:An Introduction to Programming in Go
by pcwalton on Thursday May 15, 2014 @01:34PM
(#7750917)
Right. See the documentation here [1]. Typically GCs run on allocation when they see a high ratio of the live set from the previous run to total memory in use.
[1]: http://golang.org/pkg/runtime/debug/#SetGCPercent