Where does memory disappear on Xiaomi: hidden β€œeaters” of the place and how to deal with them

Did you notice that your Xiaomi, Redmi or POCO memory melts like snow in the sun? Just 32 GB free, and a week later, it's a critical minimum and notifications "Not enough memory." And you didn't download anything! What's the matter?

The problem isn’t your forgetfulness, it’s the MIUI and Xiaomi’s smartphone architecture. Even if you don’t install new apps, the system continues to eat gigabytes of cache, duplicates, hidden update files, and aggressive backup policies. In this article, we’ll look at the top 10 causes of memory loss on Xiaomi, from the obvious to the little-known, and give step-by-step instructions on how to recover precious gigabytes.

Spoiler: 80 percent of the time, it's not the users who are to blame, it's the firmware itself, but the good news is that almost everything can be fixed without being reset to factory settings.

1. App cache: why it takes gigabytes

The most obvious, but often ignored, reason is that cache is temporary files that apps create to make things faster -- like YouTube caches videos, Google Maps caches maps, and Telegram media files -- normally, the cache should be cleared automatically, but it doesn't work well on Xiaomi.

How to check? Go to Settings β†’ Apps β†’ App management, select any frequently used app (like Chrome or TikTok) and look at the Storage section. Chances are that the cache takes hundreds of megabytes, or even gigabytes, and it quickly accumulates again after cleaning.

  • 🧹 How to clean: In the same menu, click "Clear the cache." For mass cleaning, use Settings β†’ Warehouse β†’ Cleanup β†’ Β«Cash appΒ».
  • βš™οΈ How to reduce: In some applications (for example, Google Photos) you can limit the cache in the settings.
  • ⚠️ What NOT to do: Do not clear the cache of system applications (e.g. com.miui.home) – this can cause crashes.

πŸ’‘

If the app gets slower after cleaning the cache, that's OK, and the cache will recover after a few runs, but at its optimum volume.

2.Duplicates of photos and videos: how MIUI creates them

One of the most insidious features of Xiaomi is the automatic duplication of media files, which is due to the operation of three services at once:

  1. MIUI Gallery – creates miniatures and previews.
  2. Google Photos syncs the originals to the cloud, but sometimes leaves copies.
  3. MIUI backup – duplicates files to the MIUI/Backup folder.

As a result, the same photo can be stored in 3-4 copies, taking up extra gigabytes, especially after updating the firmware or transferring data to a new phone.

Use the built-in tool in the Gallery β†’ Albums β†’ Duplicates

Check the DCIM/.thumbnails folder (hidden thumbnails)

Remove MIUI/Backup/AllBackup content

Disable autoreservation in Settings β†’ Xiaomi Account β†’ Backup

-->

For deep cleaning, we recommend Files by Google, which can find duplicates even in hidden folders, but be careful: do not delete files from Android and MIUI folders manually, this can disrupt the system.

3. MIUI Updates: Why They 'Weigh' Like Full-Full Firmware

Every update MIUI β€” This is not a small patch, but almost full firmware weight. 1.5–3 GB: And after you install it, the old update files don't always get deleted automatically. They stay in the folder. /cache or /data/ota_package, preciously.

Worse, if an update is interrupted or installed with an error, the system can re-download it, doubling the space it occupies, especially for devices with 32 GB of memory, where every gigabyte counts.

folderWhat it keeps.Can I remove it?
/cacheTemporary update filesYes, but only through Recovery.
/data/ota_packageDownloaded OTA packagesYes, manually or through Settings β†’ Storage
/MIUI/DownloadDownloaded firmware for manual installationYeah, unless you're planning a downgrade.

To clear these files:

  1. Go to Settings β†’ Storage β†’ Cleanup β†’ Updates files.
  2. Or use File Manager (root permissions are required to access /cache).
  3. For a full cleanup, boot to Recovery and select the Wipe Cache Partition.

Every week (stable version)

Once a month (on notification)

Only with critical bugs.

Never update.

I don't know what it is. MIUI-->

4. preloaded apps and β€œjunk” from MIUI

Xiaomi is known for its abundance of pre-installed apps, many of which cannot be removed by standard means, not only Mi Browser or Mi Video, but also dozens of system services like com.miui.analytics or com.xiaomi.midrop.

Worse, even if you don’t use these apps, they are:

  • πŸ“₯ Automatically Update via Google Play.
  • πŸ“Š Data is collected for analytics (yes, this takes place!).
  • πŸ”„ Create a cache in the background.

How to fight:

  1. Disable: Settings β†’ Applications β†’ Application Management β†’ Select Unnecessary β†’ Disable.
  2. Remove (from root): Use ADB or Titanium Backup to uninstall system applications.
  3. Limit: In Settings β†’ Special features β†’ Install applications turn off auto-update for unnecessary programs.
List of safe for removing system applications
Mi Browser (com.android.browser) Mi Video (com.miui.videoplayer) Mi Music (com.miui.player) Mi Drop (com.xiaomi.midrop) Analytics (com.miui.analytics) ⚠️ Do not delete applications called com.android.* or com.miui.home, which will cause the system to crash!

5. Hidden Logging Files and Memory Dumps

If your Xiaomi ever β€œhangs,” overheats, or reboots, the system could create a memory dump β€” a snapshot of the device’s state at the time of a crash.These files weigh between 500MB and 2GB and are stored in the /data/tombstones or /data/log folder.

In addition, MIUI maintains detailed logs for almost all actions:

  • πŸ“ Logs of System Events (/data/log).
  • πŸ“Š Logs of analytics (/data/data/com.miui.analytics).
  • πŸ” Logs of search (/data/data/com.miui.search).

Normally, these files take up a bit of space, but if the system is unstable, they can grow to gigabytes, especially for devices with custom firmware or after unsuccessful updates.

⚠️ Note: Removing files from /data/log root-free can cause failures. Use only official cleaning tools in Settings β†’ Warehouse.

To reduce the volume of logs:

  1. Turn off advanced diagnostics in Settings β†’ About Phone β†’ Debugging by USB β†’ Disable Log Collection.
  2. Install SD Maid (requires root) for automatic cleaning.
  3. If the phone reboots frequently, check it for overheating or battery failure.

6. Backups and cloud synchronizations

Xiaomi aggressively reserves data β€” sometimes without you knowing it β€” and here are the main memory eaters:

  • πŸ”„ Local backups: Created when you update MIUI or reset the settings. /MIUI/Backup/AllBackup and can weigh up 5–10 GB.
  • ☁️ Xiaomi Cloud: Syncs photos, notes and contacts, but sometimes duplicates them locally.
  • πŸ“± Mi Cloud Backup: Reservations SMS, call log and application settings.

How to control:

  1. Open Settings β†’ Xiaomi Account β†’ Mi Cloud β†’ Backup and disable unnecessary options.
  2. Remove old backups to Settings β†’ System β†’ Backup.
  3. Check the /MIUI/Backup folder – it often has copies of it for several years!

If you are not using the Xiaomi cloud, it is better to disable sync altogether: Settings β†’ Xiaomi Account β†’ Sync β†’ Turn off all switches.

πŸ’‘

Even if you haven't manually enabled backup, MIUI can create it automatically before critical updates.Always check the Backup folder after the firmware upgrade!

7 Viruses, Mining and Hidden Processes

If the memory disappears (tΓ i kuΓ i – β€œtoo fast”), and you have not installed anything suspicious – it is possible that a hidden miner or spyware is working on the phone.

  • πŸ”‹ The battery goes down in a few hours.
  • πŸ“ˆ The phone is warming up without loading.
  • πŸ“Š B Settings β†’ Battery visible unknown processes with high consumption.

Where to look:

  1. /data/data folder: Malware applications may be hiding here.
  2. Unknown APKs: Check Settings β†’ Apps for suspicious programs.
  3. Hidden Administrators: Settings β†’ Passwords and Security β†’ Device Administrators.

How to treat:

  1. Install Malwarebytes or Dr.Web Light and scan the system.
  2. Check the rights of the superuser: Settings β†’ Special features β†’ Root rights (if any).
  3. In extreme cases, reset to factory settings (but save the data first!).

⚠️ Warning: Some Google Play "optimizers" are themselves the source of viruses. Use only proven high-rated antiviruses.

8. File system errors and fragmentation

Over time, the F2FS file system (used by most Xiaomi) can become fragmented, especially if the memory is 90%+ full.

  • 🐒 Slowing down the phone.
  • πŸ“‰ Incorrect display of free space (the system β€œsees” the memory, but can not use it).
  • πŸ”„ Cluster loss (files take up space but do not appear in the explorer).

How to fix it:

  1. Restart your phone – sometimes it helps the system to recalculate the free space.
  2. Check the file system: adb shell df -h If the free space in the output command is very different from what MIUI shows - there is a problem.
  3. Defragment: To do this, format the /data partition (lose data!). Use TWRP or the official Fastboot.

If the problem recurs, the drive may be worn out (relevant to older devices). Check memory health with AIDA64.

FAQ: Frequent questions about memory on Xiaomi

Why does it stop quickly after cleaning up the memory?
This is normal MIUI behavior. The system actively uses cache to speed up work, and also automatically backs up data. To slow down memory consumption: Turn off auto-update apps in Google Play. Limit the background activity of applications in Settings β†’ Battery β†’ Optimization. Install SD Maid to automatically clean garbage on schedule.
Can applications be moved to SD-map?
Technically yes, but with reservations: βœ… It only works for individual applications (not all). ⚠️ After the transfer, applications can work slower. 🚫 Some system applications cannot be moved. How to move: Settings β†’ Annexes β†’ Application management β†’ select the application β†’ Β«WarehouseΒ» β†’ Β«ChangeΒ» β†’ SD-map.
Why is one amount of free memory shown in the settings and another in the file manager?
This is due to how MIUI counts occupied space: Settings show the actual available space, taking into account the reserve for the system. The file manager may not see hidden files (cache, logs, backups). The difference of 1-3 GB is normal. If the difference is greater, check the phone for viruses or file system errors.
How to free up memory on Xiaomi without resetting to factory settings?
Try this algorithm (from simple to complex): Clear the cache of all applications (Settings) β†’ Warehouse β†’ Clean up! Delete duplicate photos and videos with Files by Google. Clean up folders. /Download, /MIUI/Backup and /data/ota_package. Disable or remove unnecessary system applications (from root or through the Internet) ADB). Check your phone for viruses. If it doesn't work, back up and format the partition. /data through TWRP.
Should I use Google Play’s β€œmemory optimizers”?
Most of these apps are not only useless, they're dangerous: 🚫 Often contain advertising and trackers. πŸ”„ Can delete files (e.g. save games). πŸ“‰ They take up memory and consume the battery: SD Maid (for power users) and Files by Google (official solution from Google).