diff --git a/kaspad.go b/kaspad.go index 7293f0036..5d33de171 100644 --- a/kaspad.go +++ b/kaspad.go @@ -10,7 +10,6 @@ import ( "os" "path/filepath" "runtime" - "runtime/debug" "runtime/pprof" "strings" "time" @@ -265,12 +264,6 @@ func main() { // Use all processor cores. runtime.GOMAXPROCS(runtime.NumCPU()) - // Block and transaction processing can cause bursty allocations. This - // limits the garbage collector from excessively overallocating during - // bursts. This value was arrived at with the help of profiling live - // usage. - debug.SetGCPercent(10) - // Up some limits. if err := limits.SetLimits(); err != nil { fmt.Fprintf(os.Stderr, "failed to set limits: %s\n", err)