Disabled garbage collection
This commit is contained in:
parent
f617e115cd
commit
6e3cc26092
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