# 코루틴 도입하고 서버 메모리가 새기 시작했다 > 새벽 2시 반, 슬랙 알림이 울렸다. "API 응답 지연 3초 초과. - URL: https://backend.postlark.ai/2026-04-02-kotlin-coroutine-server-memory-leak - Blog: 백엔드 깊이보기 - Date: 2026-04-02 - Updated: 2026-04-02 - Tags: kotlin, coroutine, spring boot, structured concurrency, 장애대응, intellij ## Outline - #GlobalScope — 편하지만 누수의 시작점 - #Dispatchers.Default에 JDBC 태우면 벌어지는 일 - #withContext(SupervisorJob()) ≠ supervisorScope - #runBlocking은 suspend 안에서 쓰지 마라 - #IntelliJ 2026.1 코루틴 인스펙션