From 0d857b49a25692e8e1259e7ed6400dce7da202ab Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Wed, 28 Jan 2026 11:21:27 +0100 Subject: [PATCH] Disable explicit GC calls --- pkg/metricstore/metricstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metricstore/metricstore.go b/pkg/metricstore/metricstore.go index 38ff9015..617e945e 100644 --- a/pkg/metricstore/metricstore.go +++ b/pkg/metricstore/metricstore.go @@ -165,7 +165,7 @@ func Init(rawConfig json.RawMessage, metrics map[string]MetricConfig, wg *sync.W // previously active heap, a GC is triggered. // Forcing a GC here will set the "previously active heap" // to a minumum. - runtime.GC() + // runtime.GC() ctx, shutdown := context.WithCancel(context.Background())