From cff6a7cd76f9bc860e06d328e5c1f40e7f014ae2 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 30 Jul 2019 22:15:33 -0700 Subject: [PATCH] [node] remove duplicated gc routine Signed-off-by: Leo Chen --- cmd/harmony/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index 667ad3712..14aace375 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -160,11 +160,6 @@ func initSetup() { } utils.BootNodes = bootNodeAddrs } - - // Set up manual call for garbage collection. - if *enableGC { - memprofiling.MaybeCallGCPeriodically() - } } func passphraseForBls() {