Q67: What causes memory leaks in Node.js applications?
Common causes include uncleaned global variables, active timer closures (setInterval), uncleared event listeners, and growing caching objects held in memory.
Key Takeaways
Retained object references prevent V8 garbage collection.
Common sources: globals, forgotten event listeners, timers.
Knowledge Check
Which tool can inspect memory heap snapshots of a Node.js process?