~/talk

Finding memory leaks with Chrome Dev tools​

links:none on file
slides:none on file

Shows how Chrome DevTools diagnose a real memory incident in a chat app: use Chrome Task Manager, take heap snapshot comparisons, filter by class filter "detached" to find retained DOM nodes, run the JavaScript profiler (GC shows ~34% time) and the Performance monitor to spot rising unreleased memory. Root cause is a Redux selector running on every keystroke that allocates many objects; fixes move selectors up and introduce a memoized selector plus removal of useless state. Two PRs roll out and the leak is resolved in about 1.5 weeks.

AI-written summary · about

  1. 0:00Introduction to memory leaks
  2. 2:48Using Chrome DevTools Profiler
  3. 6:23JavaScript Profiler and garbage collection
  4. 7:26Performance monitoring in action
  5. 8:11Case study: Matam application leak
  6. 11:46Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.