Optimize your app performance for the next generation of Android
summary
New Play Console memory dashboard is rolling out now (started at 10%) and exposes P99 vs P50 memory percentiles, a histogram by RAM buckets, and an app-state filter; Android 17 enforces Android 17 app memory limits via cgroups comparing RSS anon + swap to thresholds. R8 plus the R8 configuration analyzer gives shrinking/optimization/obfuscation scores; real-world R8 results report a 35% ANR drop, 30% faster cold starts, and 9% smaller APK. Profiling Manager integrates with Datadog and Crashlytics for heap dumps; use onTrimMemory, startup/baseline profiles, rememberSaveable, downsampled images, RGB565 or hardware bitmaps to reduce RSS.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:58Memory on Android
- 9:16App memory limits in Android 17
- 10:12In-field monitoring and profiling
- 15:24R8 and memory optimization
- 20:34Bitmaps and image management
- 27:48App resilience and Low memory killer daemon
- 30:24Track app kills and handle memory pressure
- 33:47Recap of app optimization techniques
- 35:06Improve startup time with profiles
- 36:06Save UI state with rememberSaveable
- 37:12Session summary
related talks
38mOptimize your app performance for the next generation of Android
38mLow effort, High impact Android performance wins
36mAndroid memory and games
01h 06mOptimize your apps for Android (Go edition)
40mAndroid vitals: Debug app performance and reap rewards
07mAndroid memory tools and best practices
41mWays to reduce your app’s memory and storage footprint
39mUnderstanding Android memory usage
