~/talk

The Memory Leak Brain Drain

Talkat ng-conf 2017 · 2017-04-05..04-07· [angular]
name:Jon Boyd
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 0:20What is a memory leak?
  3. 0:34Why should you care?
  4. 0:58Two Types of Memory Leaks
  5. 2:10Timeline View
  6. 3:15Heap snapshots
  7. 3:25Outside of the tools
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.