Back to Problem Library
Node.js & Memory

Code Review: Node.js Memory Leak

hardJS / TS

Problem Statement

Review the following WebSocket stream manager and query cache. Identify why process memory grows continuously over time, locate uncleaned event listeners/timers, and propose a leak-free implementation.

Includes TypeScript & JavaScript starter code
Start Interview with this Problem