~/talk

Ending the Plague of Memory Leaks

Talkat EmberConf 2021 · 2021-03-29..03-30· [ember, testing]
slides:none on file

Memory leaks in long‑running single page apps cause crashes and hard‑to‑reproduce failures; the concrete solution is an addon that records a heap snapshot after test suite teardown, searches for retained instances of app or addon classes, and fails CI when retained classes exist. It uses DevTools/Chrome tooling, integrates with Ember's test harness and ember test server, and speeds diagnosis from minutes to seconds. The author reports finding leaks in app code, addons, and even an Ember release and shows the addon prevents introducing new leaks: ember-cli-memory-leak-detector.

AI-written summary · about

  1. 0:00Start
  2. 1:31Heap Snapshot Tool
  3. 2:35The Memory Allocation Timeline
  4. 5:35Memory Leaks
  5. 11:13Using Ember
  6. 13:02Common Causes
  7. 14:19Ember Cli Memory Leak Detector
~/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.