Google Introduces Per-App RAM Limits in Android 17 to Throttle Memory-Heavy Apps Without Slowing Down Devices
MOUNTAIN VIEW — Google has updated its approach to memory management in Android 17, introducing strict, tier-based per-app RAM limits designed to penalize poorly optimized, resource-heavy applications rather than letting them degrade overall system performance or drain device battery life.
Under the new Memory Limiter framework, which leverages Linux cgroup v2 kernel architecture, the operating system dynamically assigns maximum physical RAM and compressed swap budgets to individual processes based on the device’s total physical RAM capacity.
Instead of allowing a single application with severe memory leaks to exhaust available resources and force aggressive background app evictions, Android 17 applies a progressive containment protocol:
zRAM Compression & Throttling: When an application exceeds its designated memory ceiling, the system forces inactive data pages into zRAM (compressed system memory). While keeping the application alive, the added CPU overhead required for continuous compression and decompression slows down only the offending app while preserving smooth system UI navigation.
Targeted Process Termination: If an application continues to aggressively allocate memory beyond its allocated swap allowance, Android 17 terminates that specific process (MemoryLimiter:AnonSwap) rather than compromising device stability.
According to developer documentation, memory budgets differ depending on process visibility. For example, on a standard 8 GB RAM smartphone, a foreground (visible) application process is allocated up to 5 GB of memory, while background (non-visible) processes are constrained to 3 GB.
The restrictions apply across the entire application ecosystem, including pre-installed vendor software, with no developer whitelist exemptions. The memory containment architecture is launching across Pixel devices and is slated for broader adoption across global Android Original Equipment Manufacturers (OEMs) encompassing device tiers from 4 GB up to 16 GB of RAM.
