~/talk

Ways to reduce your app’s memory and storage footprint

Talkat AndroidMakers by droidcon 2026 · on Thursday, 2026-04-09· at 15:25· [web-performance, testing]
name:Fung Lam
slides:none on file

Practical signals and fixes decide whether to watch: use Google Play Console LMK rates and the ApplicationExitInfo LMK reason API to prove low-memory kills, run Android Studio memory profiler and heap dumps plus LeakCanary in Android Studio to find duplicate bitmaps, and measure savings from modern formats like AVIF 270 KB vs JPEG 1.2 MB. Replace WebViews for simple content (image rendering can double memory), switch to RGB_565 or hardware bitmaps, use bitmap pools, enable R8 shrinking, and implement onTrimMemory and autoCloseable to verify real, repeatable gains.

AI-written summary · about

  1. 0:00Memory and storage optimization
  2. 1:05Memory usage impact
  3. 5:46Identifying memory issues
  4. 10:20Profiling memory usage
  5. 13:31Optimizing bitmap images
  6. 17:50Modern image formats
  7. 20:18Vector drawables and fonts
  8. 23:32R8 and code optimization
  9. 25:18Library and overhead costs
  10. 27:02WebView and JSON overhead
  11. 28:06Memory management
  12. 34:23Auto-closeable and cleanup
  13. 35:24Storage management
  14. 36:48Memory optimization summary
~/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.