Learning Path
Recognize references that keep memory alive and learn how to verify cleanup.
Clear long-lived timers.
Remove listeners that retain state.
Bound memory with size or TTL.
Connect app caches to production heap symptoms.