Disabled garbage collection
This commit is contained in:
parent
bdb9312743
commit
35bc57b5fd
1 changed files with 7 additions and 0 deletions
7
src/build/config/gc.go
Normal file
7
src/build/config/gc.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package config
|
||||
|
||||
import "runtime/debug"
|
||||
|
||||
func init() {
|
||||
debug.SetGCPercent(-1)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue