3 ms·How?by donatj 8y agoHow?boyter 8y agoYou can control it through an environment variable or through code https://golang.org/pkg/runtime/debug/#SetGCPercent https://golang.org/pkg/runtime/debug/#SetGCPercent