~/talk

Reducing memory footprint of your app - what LeakCanary is not telling you about

Talkat Android Makers 2020 · 2020-04-20..04-21· [web-performance, testing]
slides:none on file

LeakCanary flags no leaks yet Firebase still shows frequent OutOfMemoryError reports; investigation finds screens holding 150+ bitmaps retained because Glide frees resources on destroy not onStop and RecyclerView view pooling preserves large views. Solutions include calling clear/cancel on recycle and onStop, splitting giant list items, and switching bitmap format to RGB_565 to cut bitmap bytes per pixel in half which yields ~50% memory savings on low‑end devices and noticeably reduces OOMs.

AI-written summary · about

  1. 0:00Start
  2. 5:13everything fine?
  3. 13:27What can be done?
  4. 16:29decrease image quality!
  5. 17:42Glide: RGB_565 by default
~/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.