InfraMaxx

Performance & eBPF

Garbage collection

Beginner · 4 min read · quiz included

Garbage collection cost depends on the live heap and the allocation rate, not only on heap size. GOGC and GOMEMLIMIT trade CPU for memory, and each setting moves the cost.

What you will be able to do

What is in the lesson

Read this lessonFree. No account needed.

More in Performance & eBPF

All 40 Performance & eBPF lessons