The “Not enough memory” message on Xiaomi, Redmi or POCO smartphones appears unexpectedly — often at the wrong time, when installing an app, updating the system or even while shooting a video. The reason lies not only in clogged storage, but also in the features of MIUI (Xiaomi firmware), which reserves some of the memory for system needs. In this article, we will analyze the unique cleaning methods for Xiaomi that you will not find in standard Android instructions, from hidden settings to manual transferring data to a memory card.
It's important to understand that even if you have 5-10GB of free space in your settings, the system can block it from being used, because MIUI divides memory into system, user and backup memory, which eats away at precious megabytes. We've tested all the ways on the Redmi Note 12 Pro+, Xiaomi 13T and POCO X5 Pro models, and the results are summarized in the performance table below.
Why Xiaomi is showing “Not enough memory” when there’s room
The problem lies in three key points:
- 📱 Reservation of memory MIUI: It automatically leaves 10 to 15 percent of the storage space for stable operation. ~12-18 GB that are not available to the user.
- 🗑️ Hidden cache of applications: even after cleaning through the settings, temporary files remain in folders /data/data and /cache, which cannot be seen without root rights.
- 🔄 File system errors: after incorrect memory card extraction or update failure MIUI There may be “broken” files that take up space.
For example, on Xiaomi 12S Ultra users faced a situation where 20 GB of free space the system refused to install applications weighing 100 MB. The reason is fragmentation of memory and errors in the work of the Google Play service, which blocked the installation.
⚠️ Warning: If the problem returns after 1-2 days after cleaning the memory, check Settings → Special facilities → Memory notifications, in some versions MIUI This function is mistakenly triggered even with sufficient storage capacity.
Method 1: Cleaning up cache and debris through a hidden MIUI menu
MIUI has a hidden Deep Clean menu that deletes files that are not available through standard settings to open it:
- Go to Settings. → The phone.
- Tap 5 times on the MIUI version until the notification “You became a developer” appears.
- Return to the main settings menu and open Additional → For developers → Memory.
- Choose Deep Cleanup and confirm the action.
This method removes:
- 📁 Dalvik cache (accelerates the system).
- 🗑️ Temporary update files MIUI.
- 🔄 Error logs and memory dumps.
Close all applications
Connect the charger (the process can take 5-10 minutes)
Make a backup copy of important data
Do not interrupt the cleaning process.-->
On the Redmi Note 11 Pro+, up to 3-5 GB of memory previously displayed as “system occupied” was freed after this procedure. However, do not use this method more than 1 time a month - it resets application optimization, which can lead to slowdown.
Method 2: Transfer applications to a memory card (including system)
By default, MIUI allows you to transfer only a part of the applications to the memory card. To unlock this feature for all programs (including Google Play Store and Galery), you need to:
- Insert a microSD memory card (UHS-I U3 class is recommended for speed).
- Go to Settings → Applications → Application Management.
- Select an app (like WhatsApp) and tap Storage.
- Click Change. → Memory map.
To transfer system applications (for example, Mi Video or Mi Browser) you will need to ADB-team:
adb shell pm set-install-location 2This command forces all new applications installed on the memory card. To return the default settings, use:
adb shell pm set-install-location 0| Xiaomi model | Max. Volume. SD-map | Read/write speed (recommended) | Adoptable Storage Support |
|---|---|---|---|
| Redmi Note 12 Pro+ | 1 TB | 90/60 MB/s | Yes (via ADB) |
| POCO X5 Pro | 512GB | 80/50 MB/s | Yes. |
| Xiaomi 13 Lite | 1 TB | 100/70 MB/s | No. |
| Redmi 10C | 512GB | 40/20 MB/s | Yes. |
⚠️ Note: On models without Adoptable Storage support (e.g. Xiaomi 13 Ultra), transferring applications to a memory card can cause them to work unstable.
microSD at 64 GB
microSD at 128GB
microSD 256 GB or more
I don't use a memory card.-->
Method 3: Remove duplicates and unnecessary files via MIUI File Manager
The MIUI File Manager can find duplicate photos, videos and documents, and analyze heavy files to take advantage of:
- Open the Files app (folder icon).
- Go to the Cleanup tab → Duplicate files.
- Select categories for scanning (photo, video, audio).
- Press Remove Selected.
On the POCO F4 GT, this method helped free up to 8GB of power by:
- 📸 3 000+ duplicate screenshots (automatically created when editing in Galery).
- 🎥 50+ Copies of one video (saved when cropped in Mi Video).
- 📄 Old ones. APK-files from the Download folder.
For more in-depth analysis, use third-party tools like Files by Google or SD Maid.
- 🗃️ Empty folders (remain after deleting applications).
- 🔍 Zero-size files.
- 📂 Remains of remote programs in /Android/obb.
💡
Before mass deletion of duplicates, sort files by date of change, often the oldest copies are the most unnecessary.
Method 4: Disable Media Preloading in Applications
Many apps (WhatsApp, Telegram, VK) automatically download photos and videos in the background, clogging memory.
On WhatsApp:
- Open the Settings. → Warehouse and data.
- Select Autoload Media.
- Turn off downloads for Photos, Audio and Video when working from mobile data and Wi-Fi.
On Telegram:
- Go to Settings → Data and memory.
- In the Autoload Media section, select Never for all file types.
- Clear the cache through Settings → Additional → Clear the cache.
On the Redmi. K50 Pro after disabling the autoload in Telegram was released 12 GB, that's how much weight the memes and stickers were downloaded in a year. MIUI Does not show these files in a standard manager: they are stored in a hidden folder /Telegram/Telegram Images.
How to find hidden application folders?
Method 5: Reset the Google Play Services and Play Market cache
The “Not enough memory” error when installing apps is often associated with a malfunction in Google Play Services, which reserves up to 1-2 GB of memory for temporary files that are not automatically cleared to reset it:
- Go to Settings → Applications → Application Management.
- Find Google Play Services and open it.
- Slip Warehouse → Clear the cache and Clear the data.
- Repeat the steps for the Google Play Store.
After that:
- 🔄 Reboot your smartphone.
- 📥 Try to install the app again.
- 🔧 If the error persists, check your Google account settings in Settings → Accounts.
On the Xiaomi 11T Pro, this method helped solve the problem with installing games from Google Play, when the system showed “Insufficient memory” at 15 GB of free space, the reason is a damaged ART (Android Runtime) cache that blocked the installation of new APKs.
Method 6: Using ADB to manually clean memory
If standard methods don’t work, you can manually delete unnecessary files via ADB (Android Debug Bridge), which requires connecting your smartphone to your PC and enabling debugging over USB.
Instructions:
- Download ADB Tools and unpack the archive.
- Connect Xiaomi to your PC and allow debugging in the notification.
- Open the command line in the ADB folder and type:
adb shell
su
cd /data/data
rm -rf *.tmp
rm -rf *.log
exit
exitThese commands are deleted:
- 🗃️ Temporary files (.tmp).
- 📜 Error logs (.log).
- 🔄 Remains of Remote Updates.
⚠️ Note: Do not use the rm command. -rf * without specifying extensions – this will delete all data in the current directory, which can lead to loss of system performance.
For models with root rights, you can use a deeper cleaning:
adb shell
su
cd /cache
rm -rf *
cd /data/dalvik-cache
rm -rf *
reboot💡
ADB-Cleaning is an extreme method. Use it only if other methods have not worked and you understand the risks.
Method 7: Reverse to factory settings (without data loss)
If none of the methods worked, it's factory reset, but MIUI has a soft reset feature that saves user data (photos, videos, documents) but cleans system files and settings.
How to make a soft reset:
- Go to Settings → About the phone → Reset settings.
- Select Reset All Settings (not to be confused with Remove All Data!).
- Confirm the action and wait for the reboot.
After discharge:
- ✅ Preserved: photos, videos, music, documents.
- ❌ Remove: Wi-Fi settings, accounts (except Google), application data (for example, save in games).
On the Redmi Note 10 Pro, this method freed up 8 GB of memory that had previously been occupied by “system data,” but the applications would have to be reinstalled and their data deleted.