The Memory Leak Brain Drain
summary
Shows that the usual culprits are concrete and actionable: turn off the console API because console logs retain objects, unsubscribe long-lived observables to avoid retained subscriptions, and use Chrome DevTools Timeline and Heap snapshots plus the Allocation Timeline to pinpoint when memory climbs and which component or event causes it, reproduce the leak by mimicking long-running users, isolate with a minimal app around a suspect third‑party, and consider upgrade to Angular 4 to avoid common mistakes.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:20What is a memory leak?
- 0:34Why should you care?
- 0:58Two Types of Memory Leaks
- 2:10Timeline View
- 3:15Heap snapshots
- 3:25Outside of the tools
related talks
19mTuning Your Angular Application
03mObservable trapped me in memory leak
09mCommon Angular Gotchas
34mBad Practices, how you should NOT do in Angular world
41mHow to Improve Angular 2 Performance?
26mProfiling Angular apps like a Shark
35mBad Practices, what NOT to do in Angular
41mThe most infamous code smells in Angular Applications
