mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
The startup phase may have allocated memory that can be garbage-collected. Forcing GC to run before measurements avoids noise if the garbage collection kicks in during the measurement and potentially reduces the heap size reported by metrics. The exact effect has not been measured, it just seems useful.