← All posts

Managing storage and app data growth across a rented device fleet

Sep 23, 2026 · By Xavier Fok

Every device in our fleet runs on real Android hardware with a fixed amount of onboard storage. Nobody hands us a virtual disk we can resize with a slider. When a device fills up, it fills up, and the apps running on it start behaving badly long before the OS actually refuses to write another file. Android device storage management on a rented fleet is a different problem than managing storage on your own phone, mostly because of scale and because you rarely get to physically hold the device that’s running low.

This is what actually happens to storage on a device that’s logged into several accounts, running scheduled automation, and pulling media all day, and what we do about it before it becomes an outage.

Why storage creeps up faster on a rented fleet

A phone in someone’s pocket gets used, then it gets put down. It idles, Android’s own storage manager gets a chance to trim caches, and the user occasionally opens Settings and clears something out of frustration when things feel slow.

A rented device running multi-account operations doesn’t idle the same way. Apps stay logged in across sessions, media loads continuously, and automation scripts often keep an app in the foreground or wake it on a schedule specifically so it doesn’t get suspended. Android’s background app cache eviction depends partly on memory pressure and foreground activity, and a device that’s constantly busy gives the system fewer natural windows to clean up after itself. The result is that storage on an actively used cloud device grows faster than storage on a phone sitting on someone’s desk, even though the raw amount of app usage might look similar on paper.

An install costs more than its download size

If you install a browser at 40MB and a messaging app at 60MB, you might expect the device to be down roughly 100MB. It won’t be.

The APK you download is compressed. Once it’s installed, the system unpacks it, and the Android Runtime (ART) compiles some or all of the app’s bytecode into native machine code so it runs faster. That compiled code lives alongside the original APK, not instead of it. So the installed size you see in Settings is already bigger than the download size before the app has done anything at all. Multiply that across a full app stack and a meaningful chunk of storage is gone before a single account has logged in.

Where the bytes actually go

Every installed app on Android gets its own directory under /data/data/<package name>, split roughly into a data folder and a cache folder. The data folder holds things the app considers persistent: SQLite databases, shared preferences, downloaded files, login tokens, saved drafts. The cache folder holds things the app considers disposable: thumbnails, temp downloads, prefetched media, log files.

In theory the cache folder is the app’s problem to manage and Android can reclaim it under storage pressure. In practice, a lot of apps are conservative about trimming their own cache, and some only prune it when the user opens the app’s own storage settings and taps clear. On a device you’re not physically holding, that tap doesn’t happen unless you build a process for it.

Then there’s a second tier on the shared partition, under /Android/data/<package name> and /Android/obb/<package name>, which apps use for larger assets: downloaded video, offline maps, game assets, media caches too big to keep in private internal storage. Since Android 10’s scoped storage changes, apps are more disciplined about where they write, but they still write a lot, and it tracks usage rather than install size.

And there’s baseline plumbing nobody installs on purpose. Google Play services handles push notifications, location, account sync and sign-in for most apps, updates itself independently of the OS, and keeps its own cache that grows with how much the rest of the device is doing. Add notification history, download managers holding temp files from interrupted transfers, and apps writing their own crash logs locally. None of it is large individually. All of it together is why a busy device’s storage breakdown rarely matches the sum of its app sizes.

The other quiet consumer is app updates themselves. APK sizes generally trend upward release over release as apps add features, bundle more native libraries, and ship larger resource sets. A device holding a dozen apps that each update every few weeks accumulates that growth steadily, and it’s easy to miss because no single update looks alarming on its own.

Why it doesn’t fill up in a straight line

If you plotted free space against app count, you wouldn’t get a straight line. The first ten or fifteen apps are cheap, mostly code and a fresh, empty data directory. Past that, usage compounds: apps that handle images build bigger caches the more they’re used, and background sync jobs that were idle on a fresh install start actually running once accounts are logged in.

Capacity isn’t the only cost either. As the /data partition fills, especially on the UFS or eMMC storage in mid-range devices, write latency creeps up, because flash garbage collection has less free space to work with. On a device cold-starting apps all day, that shows up as longer load times and stutter, and in apps like messaging as slower sync, delayed notifications and the occasional dropped background task. None of that is the app’s fault. It’s how full the storage has gotten.

Cache versus data: what you can safely clear

This distinction matters because the two clear actions in Android’s app info screen do very different things.

Clear cache removes only the disposable folder. The app rebuilds what it needs the next time it runs. This is safe to do routinely and shouldn’t log anyone out or lose any state, because the app was never supposed to treat that data as something it couldn’t afford to lose.

Clear storage (sometimes labeled clear data) wipes both the data and cache folders, which means login sessions, saved preferences, and local databases go with it. For an account-heavy device, this is the difference between freeing up space and having to log back into every app on that device manually. We treat clear storage as a last resort, not a routine maintenance step, and we never run it against an app holding an active session unless we’ve already planned for the reauthentication that follows.

The adb shell pm clear <package> command does the same thing as clear storage from the command line, which is convenient for scripting but just as destructive to session state. adb shell pm trim-caches is the gentler equivalent, asking the system to free up cache space without touching an app’s actual data.

Uninstalling apps that are no longer part of the active workflow is the other easy win, since it recovers both the code and the data footprint, not just the code.

Watching storage before it becomes a problem

The most useful habit is checking storage before an app starts failing, not after. adb shell df /data gives a quick read on how full the data partition is on a given device. adb shell dumpsys diskstats and du -sh against specific app directories tell you which package is actually responsible when a device is tight on space, rather than guessing.

We check this per device rather than relying on averages across the fleet, because storage consumption tracks what a specific device has been doing, not some fleet-wide baseline. A device running one media-heavy account behaves very differently from one running lighter text-based automation, even if both were provisioned identically on day one.

We also treat storage headroom the way we treat RAM and CPU: as a budget planned for the actual app stack a device is going to run. That means looking at real installed size, not download size, before deciding how many apps a device can carry.

Android’s own low storage warnings exist, but by the time they fire on a device you’re managing remotely, apps on that device have often already started throwing write errors or silently failing to save something. Catching the trend a few gigabytes earlier avoids that entirely.

Handling app updates across many devices

App updates are one of the few storage costs you can’t clear away, since the new APK version replaces the old one rather than sitting alongside it. What you can control is when updates happen and whether they happen in a coordinated way across the fleet.

Letting every device auto-update on its own schedule means you get storage and behavior changes landing unpredictably, which makes it hard to tell whether a storage spike came from cache growth or from twelve devices happening to pull the same large update overnight. Staging updates, or at least tracking which devices updated and when, turns a mystery storage jump into an expected line item you already accounted for.

Media-heavy apps are the usual suspects

Messaging and social apps that handle photos and video are consistently the biggest cache consumers, because their whole design is built around loading media fast, which means caching it aggressively. An app showing an image-heavy feed is, by design, downloading and locally storing a lot of thumbnails and full-resolution assets as a user (or an automated session behaving like one) scrolls.

Multiply that by several logged-in accounts on the same device, each with its own session and its own cache directory under the same app package structure, and it’s easy to see why a single app can end up responsible for the majority of a device’s used storage. That duplication isn’t waste you can engineer away. Account isolation requires each instance to keep its own cache and database, so duplication is the cost of isolation.

The system’s media index makes it worse. Android keeps a system-wide Media Store that catalogs every photo, video and audio file so apps with permission can browse them, and when apps touch media, thumbnails get generated and cached. With several apps holding media or camera permissions, each keeps its own private thumbnail cache over the same underlying files, because there’s no shared thumbnail pool apps are required to use. A device that’s browsed content across a dozen apps carries a media cache that has nothing to do with how much media was actually saved.

Checking per-app storage inside Settings, or via du -sh on each package directory, usually points straight at one or two apps rather than an even spread across everything installed. Clear cache on those biggest offenders rather than on everything at once.

When to reset a device instead of cleaning it

Sometimes the right move isn’t clearing individual app caches but resetting the device entirely and reprovisioning it. If storage is consistently tight across most apps rather than concentrated in one or two, if performance has degraded in ways that clearing cache doesn’t fix, or if a device has accumulated enough account history that untangling what’s safe to clear becomes more work than starting fresh, a reset is faster and more reliable than surgical cleanup.

We treat this as a scheduled maintenance decision rather than an emergency response. A device that’s about to run out of space in the middle of an active session is a worse outcome than one that gets reset during a planned window before it gets there.

Building storage hygiene into your operating routine

None of this requires anything exotic. It requires budgeting storage for the real installed footprint, checking it on a schedule instead of waiting for an app to fail, distinguishing cache clears from data clears so you’re not accidentally logging accounts out, watching which apps are actually responsible for growth instead of guessing, and treating app updates and device resets as planned events rather than surprises.

On real hardware with fixed storage, there’s no shortcut around this. The device only has what it has, and the apps running on it will use as much of it as you let them.

If you’re running multi-account operations on real Android hardware and want to see how we handle device provisioning and maintenance in practice, take a look at cloudf.one.

Get new guides and videos first — join the Telegram channel.

40% off until 31 December 2026
Real phones in Singapore, each with its own mobile IP.
Introductory price until 31 December 2026. A dedicated phone straight away, no queue.