Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding Android Memory Usage

Android Developers via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive 39-minute Google I/O 2018 conference talk that explores the intricacies of Android memory usage. Gain valuable insights into different types of memory consumption, including shared memory, DEX memory, and GPU memory, and their impact on application performance and user experience, especially on low-memory devices. Learn how to model and analyze your app's memory usage, enabling you to optimize performance and enhance usability across various Android devices. Discover best practices for managing memory, reducing APK size, and utilizing the Memory Profiler tool to improve your Android applications. Explore the relationship between memory pressure and application behavior, understanding how different platform configurations affect memory consumption in popular apps like Gmail and Chrome. Uncover the hidden memory costs associated with non-Java allocations and APK content, equipping you with the knowledge to make informed decisions about memory usage in your Android development projects.

Syllabus

Intro
Memory and the Android ecosystem
Physical memory on device
2 GB device under memory pressure
Android process list and the low memory killer
512 MB device under memory pressure
Application memory impact with shared pages
User value / memory impact tradeoff
Memory impact depends on a bunch of things
Gmail memory for various platform configs
Chrome PSS under increasing memory pressure
Android Studio's memory profiler
But what about the rest of the memory?
Non-Java allocations are often tied to Java allocations
Things that take space in your APK tend to take memory at runtime too
1. How memory use impacts a device

Taught by

Android Developers

Reviews

Start your review of Understanding Android Memory Usage

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.