Last Updated: May 22, 2026
A goroutine leak is a goroutine that should have exited but didn't. It's still alive, holding stack memory and a slot in the scheduler, waiting on something that will never happen. One leaked goroutine isn't a problem. Ten thousand of them, accumulating over weeks of uptime, is how long-running Go servers crash with mysterious memory-growth charts.