~/talk

Memory Leaks & Performance Considerations: A Cookbook

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android]
slides:none on file

Practical checklist of fixes that deliver measurable wins: remove static UI references to avoid leaking whole activity view trees, nullify fragment view listeners on onDestroyView to prevent retained view memory, avoid static thread pools and make inner classes static or use listener callbacks to stop threads holding activities, recycle bitmaps and use Glide with proper caching to cut OOMs, flatten deep view hierarchies and profile before and after to quantify startup, memory and jank improvements.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 3:43Why memory leaks matter
  3. 6:12Android components and lifecycle clashes
  4. 15:47Threading and concurrency leaks
  5. 20:21Context and view hierarchy
  6. 23:53Team adoption and analytics
~/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.