~/talk

LeakCanary, then what? Nuking Nasty Memory Leaks

Talkat GOTO Copenhagen 2016 · 2016-10-03..10-06· [android, testing]
slides:none on file

LeakCanary runs in apps to capture leak traces, then he builds an uploader that fakes crashes into a crash reporter so leaks get grouped and counted; heap dumps upload to Slack for deep inspection. Analysis uses heap dumps opened in YourKit or MAT to find the shortest path to GC roots. Concrete fixes found: unregister application lifecycle callbacks and remove runnables from View/RunQueue (support‑lib keeps a Runnable that can hold an entire view hierarchy for ~30 minutes), and a Picasso cancel bug where code cancels requests on a different Picasso instance.

AI-written summary · about

  1. 0:00Intro
  2. 0:50Story
  3. 11:45Examples
  4. 16:05Leak Reporting
  5. 31:21Heap Dump
~/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.