ended3월 19일· 1 sources
Goroutine leaks in Go: detect, understand, fix
Go에서의 고루틴 누수: 탐지, 이해, 수정
Why it matters
Goroutine leaks in Go occur when goroutines are started but never terminate, typically due to blocked channel operations or infinite loops without exit mechanisms. The article identifies four common leak patterns—channel send with no receiver, channel receive on never-closed channels, infinite loops without shutdown, and others—and provides concrete fixes using buffered channels, context cancellation, and proper channel closing.
1
Sources
+0
24h
—
Growth
175d
Active
GoroutineGomemory leakchannelconcurrency