You saw a message on Xiaomi’s screen saying, “Not enough memory. Some features may not work” — and now the phone is slowing down, apps are crashing and the system is behaving unstable — a problem that many smartphone owners of the brand, especially on devices with 32/64 GB of internal memory. Unlike the banal notifications about filled storage, this error signals a critical shortage of free space in the system partition, which blocks the work of key functions from updates to installing new programs.
The reasons may be as in MIUI-features (for example, duplicate files after updates), and in user actions: cache accumulation, “garbage” from remote applications or even viral activity. In this article, we will discuss all working methods - from basic (hand cleaning) to advanced (changing the structure of partitions through the use of a new method). ADB), — We also explain why standard tips like “transfer files to a memory card” will not work here (the system partition is not extended by external drives).
Why Xiaomi has a “Not Enough Memory” error
Memory shortage reporting on Xiaomi is different from the usual warning “Storage is full” – this is a system partition (/data or /system) that is full of critical files.
- 📱 Cash. MIUI Systems and programs create temporary files that take up gigabytes over time, especially messengers (Telegram, WhatsApp) and social networks.
- 🔄 Residual files after updates: Update MIUI Older versions of firmware are not always deleted completely, taking up space in hidden folders.
- 🗑️ «Garbage from remote applications: Even after uninstallation, programs leave traces in the /data/data and /sdcard/Android.
- 🛡️ Viruses and malware: Some Trojans create copies of files or download data in the background.
- 📁 Duplication of media: Photos and videos can be automatically saved in the Gallery, in the cloud (Mi Cloud), and in application folders.
On devices with eMMC memory (e.g. Redmi 4A, Redmi 5), the problem is exacerbated by the degradation of memory cells – over time, the write speed decreases, and the system begins to “lose” free space, in which case even cleaning may not help for long.
How to check which section is full
Before you can clean the memory, you need to know which partition is clogged. MIUI has built-in tools, but they only show general information.
- Open Settings → About Phone → Memory. Here you will see a schedule of internal memory usage (including user data and system files).
- Install DiskUsage or Files by Google from the Play Market, and they visualize which folders take up the most space.
- For advanced users: connect your phone to your PC and use ADB to execute the command: adb shell df -h Pay attention to the Size and Used columns for /data and /system partitions.
If the /data partition is 90% full or more, it is a critical condition and the system starts to crash because it can’t create temporary files to run applications.
💡
MIUI 12/13/14 has a hidden memory analysis feature, so to activate it, type ##4636## in the Phone app, then select Storage.
Basic methods of memory cleaning (without root)
Start with simple methods that don’t require superuser rights, and they can free up 1 to 5 GB of space.
1. Cleaning the application cache and system
- 🧹 Go to Settings. → Annexes → Application management.
- 📊 Sort programs by cache size (click on three dots in the upper right corner).
- 🗑️ Select apps with large cache (such as YouTube, Facebook) and click Clear Cache».
- 🔄 For complete cleaning of the system cache: Settings → Memory. → Clear (button at the bottom of the screen).
2. Delete unnecessary files and duplicates
- 📂 Use the built-in File Manager app: Go to the Analysis section and delete large or duplicate files.
- 🎵 Pay special attention to the folders: /sdcard/DCIM/.thumbnails (photo-picture), /sdcard/Android/data (file), /sdcard/MIUI/Backup (backup).
- 🔍 To find duplicates, install Files by Google or CCleaner.
3. Delete old updates and backups
- 📦 Go to Settings. → The phone. → Updating the system → Three points. → Remove the downloaded package.
- 🔄 In a file. /sdcard/MIUI/Backup/AllBackup Remove old backups (if you don’t use them).
- 📱 B Settings → Accounts. → Mi Cloud → Backup: Turn off automatic copy creation or reduce the frequency of copies.
Clear the cache of all applications|Remove duplicate photos and videos|Check Downloads folder for unnecessary files|Remove old updates MIUI|Clear the basket in the application "Files"-->
If you have a mistake after this, move on to more radical methods.
Advanced Methods: Resetting and Optimizing Partitions
When basic cleaning doesn’t work, the problem may be memory fragmentation or overflow of system partitions, and more serious measures will be needed.
1. reset to factory settings (Hard Reset)
This is a last resort, but it is guaranteed to clean up all user data and system debris.
- 📱 Backup important data (contacts, photos, messages) via Mi Cloud or Google Account.
- 🔐 Make sure you know the username and password from your Mi Account (after reset, you will need authorization).
- ⚙️ Go to Settings. → The phone. → Resetting settings → Erase all data.
What happens after Hard Reset?
2. Change the partition structure through ADB (for experienced)
On some Xiaomi models (e.g. Redmi Note 8 Pro, POCO X3), you can increase the partition size /data by reducing /system or /vendor. This is a risky procedure, but it can add 2-4 GB of free space.
Instructions:
- Install ADB Tools on your PC and connect your phone in debugging mode (Settings → Developers → USB Debugging).
- Run the command to check the current partitions: adb shell parted /dev/block/mmcblk0 print
- With DiskGenius or fdisk, change partition boundaries (requires knowledge of disk markup!).
- Reboot the phone.
⚠️ Warning: Incorrect partitioning changes can result in complete data loss or “bricking” of the device. ADB and disk marking.
3. Transfer of applications to a memory card (with restrictions)
MIUI has a microSD portability feature, but it doesn't work with all programs and doesn't solve the problem of overflowing the system partition, but it can free up 500 MB-1 GB:
- 📱 Go to Settings. → Annexes → Application management.
- 🔄 Select an application that supports portability (e.g. Spotify, VK).
- 📁 Press "Storage» → «Change» → «Memory map».
Note that system applications and many games (such as PUBG Mobile) cannot be ported.
What to do if nothing helps
If after all the manipulations, the “Insufficient Memory” error continues to appear, the problem may be hardware:
- 🛠️ Degradation of eMMC memory: on older devices (Redmi) 3S, Redmi 4X) Memory wears out after 2-3 years of use. The solution is to replace the memory chip (requires rations).
- 🐛 Viral activity: Some Trojans create hidden files that are not visible through standard managers. check the phone through Malwarebytes or Dr.Web.
- 🔧 File system damage: If the phone suddenly shuts down while writing data, errors in the memory structure may occur. ADB Team: Adb shell fsck /dev/block/mmcblk0pX (where X is the partition number, for example, p25 for /data).
If the device is warranty, contact the Xiaomi service center. Otherwise, consider buying a new smartphone - memory repairs often cost more than the cost of a budget model.
💡
On devices with eMMC 5.0 and older (e.g., Redmi Note 7), memory degradation is less common than on eMMC 4.5 (Redmi 4A).
How to prevent the recurrence of an error
To prevent the problem from returning, follow these recommendations:
- 📵 Limit social media cache: In Facebook, Instagram and Telegram settings, turn off automatic media file saving.
- 🔄 Clean Downloads folder regularly: Remove unnecessary ones APK-files, documents and archives.
- 📥 Use Cloud Storage: Set up an automatic photo upload to Google Photos or Mi Cloud and delete local copies.
- 🛡️ Install antivirus: For example, Avast or Kaspersky for Android.
- 📅 Plan a cleanup: Once a month, run the built-in memory analysis in Settings → Memory.
On devices with 16-32GB of storage, try not to install heavy games (like Genshin Impact or Call of Duty Mobile) as they take up to 10GB and fill up storage quickly.
Comparison of Memory Cleanup Methods on Xiaomi
| Method | Difficulty | Efficiency | Risks. | Applicability |
|---|---|---|---|---|
| Clearing the cache | ⭐ (simple) | ⚡ Frees up 500MB-2GB | No. | All models. |
| Removal of duplicates | ⭐⭐ (time-consuming) | ⚡ Releases 1-3 GB | Important files can be accidentally deleted | All models. |
| Hard Reset | ⭐⭐⭐ (dataset) | ⚡ Complete cleaning | Loss of all data | All models. |
| Changing Partitions Through ADB | ⭐⭐⭐⭐ (skilled) | ⚡ +2–4 GB /data | Risk of "bricking" | Only for devices with unlocked loader |
| Replacement of the eMMC chip | ⭐⭐⭐⭐⭐ (service-centre) | ⚡ Full recovery | High cost | Devices older than 3 years |