Comment Comment by ptrincr You are able to disable GC with: GOGC=off As someone mentions below.More details here: https://golang.org/pkg/runtime/ parent ptrincr 6 years ago
More details here: https://golang.org/pkg/runtime/