~/talk

Unveiling the Unseen Threat: Demystifying Memory Leaks in Android

Talkat Android Worldwide July 2023 · 2023-07-25..07-26· [android]
slides:none on file

Explains how Android memory leaks occur when short‑lived objects like Activity or View get referenced by long‑lived holders such as singletons or ViewModel and remain reachable so GC doesn't free them, shows that leaks are often silent and require long runs to surface, and demonstrates practical tooling: LeakCanary hooks lifecycle, keeps WeakReference to destroyed Activities and triggers a heap dump saved as .hprof, then uses Shark to trace paths from GC roots to leaked objects for diagnosis.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08What are memory leaks
  3. 6:25Memory leaks in Android
  4. 8:35Detecting leaks with tools
  5. 10:01LeakCanary detection
  6. 14:53Analyzing leak categories
  7. 15:57Common causes and tips
  8. 19:54Production performance monitoring
  9. 20:37Closing thoughts and Q&A
~/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.