Google forces Android apps to use memory more wisely as RAMpocalypse rages
No one can afford RAM anymore, so we're requiring devs to mind memory usage
Google is enforcing stricter memory performance standards for Android applications set to launch in early 2027. The tech giant is addressing the escalating issue of poor optimization, which is exacerbated by soaring RAM costs and consumers opting for devices with less capacity. An overwhelming memory crisis is looming due to the soaring prices of RAM, according to Google's technical guidelines.
Inefficient memory utilization, like a single app experiencing a runaway memory leak that consumes a significant portion of the device's memory, can cause the device to stutter and terminate other well-functioning applications running in the background. Google has established strict memory limits, aiming to ensure that apps conform to these limits and minimize the risk of device termination.
The new app quality requirements are an extension of the earlier Android memory efficiency push, aimed at preventing one faulty application from disrupting the multitasking experience and stability of the entire device. Technical compliance will be enforced in two phases: February 2027 will introduce bad behavior and code optimization thresholds, while April 2027 will require zero-tap credential restoration during device migration.
Memory usage, bitmap memory usage, and DEX code optimization will be scrutinized, with specific limits varying based on the physical RAM available on the device. For devices with 8 GB of RAM, an app can consume a maximum of 2.25 GB in the foreground, 1.5 GB for user-perceived services, and 1.5 GB in the background. Devices with more than 16 GB are largely exempt from these limits.
Bitmap memory usage is capped at 200 MB for user-perceived services and background, and 400 MB cached for all devices. Games have somewhat different limits. The second stage also mandates DEX code optimization to ensure efficient memory usage, swift app launches, and improved runtime performance. The second stage, Zero-tap Sign-In, aims to streamline device migration while enhancing security.
Google's documentation emphasizes that manual sign-ins during device setup not only create onboarding friction and reduce user retention but also expose apps to critical security vulnerabilities like phishing and credential theft during setup. Therefore, by April, Android developers are advised to utilize the Android Restore Credentials API to facilitate user credential transfer between devices.
Written by urgent.news from The Register Science's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- Google cracks down on memory-hogging Android apps amid an AI-fueled RAM shortage digitaltrends.com
- Google forces Android apps to use memory more wisely as RAMpocalypse rages theregister.com
- Google announces new performance thresholds for Android apps including memory-use limits, citing the AI-induced memory crunch (Sarah Perez/TechCrunch) techcrunch.com
- Google tells Android app developers to cool it on memory use, or else theverge.com