DEV Community

Israr Kundi
Israr Kundi

Posted on Originally published at israr-kundi.web.app

Google Play memory limits February 2027: check your app

Google Play memory limits February 2027: check your app

Google Play memory limits February 2027 is the deadline every app owner on Google Play needs to know. From February 2027, Google starts enforcing limits on how much memory your app uses and how well its code is optimised, and apps over the limits may lose visibility on the store.

What you will see

Nothing changes in your app itself. It still opens and works, and your users will not notice anything wrong. What changes is on Google’s side: if your app is over the limits, Google may show it to fewer people, may put a warning on your store listing, and may limit your ability to publish updates. Play Console shows a warning on the Android vitals page when your app crosses a threshold.

That is what makes this deadline easy to miss. Your app may just quietly get harder to find after February.

Why Google is doing this

Google announced the change in August 2026. Phone memory is getting tighter, and apps that hold too much of it slow the whole phone down. Android already kills apps that use too much memory, and now Google Play is turning that into a store rule. The limits are called bad behavior thresholds, and they cover three things.

First, dynamic memory: the memory your app holds while it runs, measured as anonymous RSS plus swap — your app’s own private data, active and compressed, in the foreground and in the background. Second, bitmap memory: the memory taken up by images your app holds. Third, DEX code optimisation: how much of your app’s Android code has been optimised, shrunk and obfuscated with a tool like R8.

Google Play memory limits February 2027: the three numbers

For an app on a 4 GB phone, the memory limit is 2 GB while the app is in use, 1 GB while it runs a service, and 1 GB while it sits in the background. On an 8 GB phone, it is 2.25 GB in use, 1.5 GB while it runs a service, and 1.5 GB in the background. On a 16 GB phone, it is 4.25 GB in use, 2 GB while it runs a service, and 2 GB in the background. Phones with under 4 GB of memory and phones with over 16 GB have no limit at all.

Bitmap memory has one limit for every phone: over 200 MB while the app runs a service or sits in the background, and over 400 MB held in cache.

The code rule only applies to apps with more than 10 MB of DEX code. Those apps need at least 25% coverage across optimisation, shrinking and obfuscation. Google gives the month, not a day: the limits start in February 2027. Play judges the last 28 days of data, so a fix takes time to show up.

The minimum fix

  1. Open Play Console and look at Android vitals. Check Memory, Bitmap memory, and DEX Code Optimization. Google is rolling out these checks now, so if you cannot see them yet, look again before February. This tells you which of the three limits, if any, your app is over.
  2. If the code number is under 25%, check whether shrinking is on in your release build. In a Flutter app, open android/app/build.gradle.kts and look at the release block: isMinifyEnabled and isShrinkResources should both be true. If they are off, turn them on, upload a new build, and check the DEX insights again. Then test the release version on a real phone before you ship it. Shrinking can remove a class a plugin needs at runtime, and that only shows up in a release build, never in debug. Run flutter run --release and tap through the plugin screens.
  3. For bitmap memory, stop holding full-size images in memory. Resize images to the size shown on screen, and clear image caches when the app goes to the background. For example, a photo gallery that keeps every full-size photo loaded holds a lot of bitmap memory.
  4. For dynamic memory, find the biggest user of memory first and fix that one thing. A list that loads everything at once, a map or video held open, a background service that never stops. Fix the biggest one first, then check the numbers again.

What not to do: do not turn shrinking off to fix a release crash — that puts you under the 25% line. Do not add a blanket keep rule that tells the shrinker to keep everything. It stops the crash and defeats the point of shrinking. And do not confuse app size with memory use: a small download can still hold too much memory while it runs.

When to get help instead of fixing it yourself

The check takes minutes, and any app owner can do it. The fix is developer work. If Android vitals shows your app over a limit and the fix means changing build settings, adding R8 rules, or tracking down a memory leak, get a developer to do it before February, while the 28-day numbers still have time to come back down.

If this is your app, contact me through https://israr-kundi.web.app

Top comments (2)

Collapse
 
userxnom profile image
Abdullah Naseer •

Useful heads-up — the part that surprised me was that Play judges the last 28 days, so a fix won't show up in Vitals right away. In the Flutter apps you've checked, which of the three limits tends to trip first? I'd guess bitmap cache from unresized images, but with a lot of plugins I'd wonder whether the DEX side gets close to the 25% line even with minify on.

Collapse
 
prikshit profile image
Prikshit •

The DEX rule is the one I'd check first. If shrinking is off, or a blanket keep rule is holding everything, you can be under the 25% line without a memory leak. A broad keep rule also blocks R8 from shrinking the same startup path a missing keep rule can crash. The useful check is Android vitals, then a real release run, because a debug build will not show either failure.