Increasing GC thresholds reduces collection frequency, which can lower latency spikes, but it directly leads to higher peak memory consumption as more objects accumulate before being collected.
Open the full topic