Why does Xiaomiβs system memory fill up on its own?
Have you noticed that your Xiaomi, Redmi or POCO suddenly ran out of space, even though you didnβt install new apps or download large files? The problem of filled system memory is one of the most common among users of smartphones based on MIUI. Most often this is due to the peculiarities of the shell, which actively caches data, creates backups and accumulates garbage in hidden folders.
Unlike the userβs memory (where your photos, videos, and apps are stored), the system partition is responsible for running Android and MIUI. When it fills up, the phone starts to slow down, applications crash, and the system produces errors like βNot enough memoryβ or βClear up space.β And standard cleaning methods through Settings β Storage often donβt help β because garbage is hidden deep in the system folders.
In this article, we will discuss 7 working ways to free up system memory on Xiaomi, including little-known tricks with ADB, cleaning the MIUI cache and removing unnecessary updates. All methods are tested on current versions of MIUI 14/15 and work without root rights.
1. Cleaning of the MIUI cache and system applications
The first thing to try is to delete the temporary files that MIUI creates to speed up work, which can take up to 3 to 5 GB, but is not displayed in the standard file manager.
- π± Go to Settings. β Annexes β Application management.
- π In the search bar, enter "System" - all preinstalled services will be displayed.
- π§Ή For each of them (especially for the others). MIUI System, Security, Download Provider) Press Storage β Clear the cache.
- ποΈ For apps like Gallery, Music, or Browser, also clear the data (but note that this will reset their settings).
If the cache accumulates again quickly after cleaning, it may indicate a failure in MIUI Optimization, the service responsible for background optimization, in which case resetting its settings will help:
- Open the Settings. β The phone.
- Click 5 times in a row on the MIUI version to activate Developer Mode.
- Back to Settings β Additionally. β For developers.
- Find the MIUI Optimization option and turn it off (reboot will be required).
π‘
After MIUI Optimization is turned off, the phone may be a little slower, but it will stop clogging the memory with unnecessary processes. Turn it back on after 1-2 days - the cache will no longer accumulate as quickly.
2. Remove unnecessary updates and duplicates of MIUI
Xiaomi often releases delta updates (small patches) that are downloaded automatically, but not always deleted after installation. 1β2 GB in a folder /data/ota_package. To remove them:
- π Connect your phone to your PC and enable debugging. USB (Settings β For developers).
- π₯οΈ On your computer, open the Command Prompt (Windows) or Terminal (Mac/Linux) enter:
adb shell
su
rm -rf /data/ota_package/*
rm -rf /cache/ota/*
exit
exitIf you do not have root rights, use the built-in file manager:
- Open the File Manager (or File Manager) application.
- Go to Categories β System files.
- Find the OTA or Download folders and delete all of their contents.
Also check the /MIUI/backup folder, which may contain duplicate backups from previous firmware versions, and you can delete them if you don't plan to roll back.
3. Cleaning Dalvik-cache and ART-cache)
Dalvik-cache and ART-Caches are temporary files that Android creates to speed up the launch of applications, which can grow to 500 MB-1 GB over time, especially if you often install and delete programs:
Charging the phone > 50%|Save important data (photos, contacts)|Close all applications|Disable debugging by USB (if it was included)-->
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset β Wipe Cache.
- Confirm the action and wait for the completion (it will take 1-2 minutes).
- Reboot the device (Reboot β System)
This method wonβt delete your data, but it will reset app optimization β the first run after cleaning may be slower than usual.
What happens if you clean Dalvik-cache manually?
4. Disposal of garbage through ADB (advanced method)
If standard methods donβt work, try deep cleaning through ADB (Android Debug Bridge), which allows you to delete files that are not normally available to the user, for example:
- ποΈ Residual files of remote applications (folders in the /data/data).
- π¦ Google Play Services cache (can weigh up to 1GB).
- π Logs and dumps of the system (/data/tombstones, /data/anr).
For this:
- Install ADB Tools on your PC.
- Connect your phone and allow debugging (Settings β Developers β Debugging via USB).
- In the command line, type:
adb shell
pm clear com.android.providers.downloads
pm clear com.android.providers.media
rm -rf /data/local/tmp/*
rm -rf /data/log/*
exitPlease note: Do not delete files in /data/app or /system, this will lead to system failure.
π‘
Cleaning with ADB is more effective than standard methods, but requires caution. Always check the paths before removing - an error can make the phone inoperable.
5. Disabling unnecessary system applications
MIUI is known for a lot of pre-installed applications, many of which run in the background and clog memory. They can't be removed without root, but you can turn them off so they don't consume resources.
The list of the most βvoraciousβ services Xiaomi:
| Annex | What's he doing? | Can I turn it off? |
|---|---|---|
| com.miui.analytics | Collection of usage statistics | β Yes. |
| com.xiaomi.midrop | Transfer files over Wi-Fi (Mi Drop) | β Yes. |
| com.miui.player | Music player | β οΈ Only if you use a different player. |
| com.android.browser | Standard browser | β Yes, if Chrome is installed) |
| com.miui.videoplayer | Video player | β οΈ Only if you use it VLC or MX Player |
To disable:
- Go to Settings β Applications β Application Management.
- Select the unnecessary app and click Disable (or Remove Updates if the button is active).
- Confirm the action. The app will disappear from the menu and stop working in the background.
β οΈ Note: Do not disable services with the names com.android. or com.qualcomm. β this may lead to loss of communication, GPS or mobile.
6. Transfer of applications to SD-card (if supported)
If your Xiaomi supports memory expansion via microSD (e.g. Redmi Note 10 Pro, POCO X3 Pro), you can transfer some applications to the card.
How to do this:
- π± Put it in. SD-card (preferably of class 10 or higher).
- π§ Go to Settings. β Warehouse β Internal memory.
- π¦ Click on the application you want to migrate and select Change. β SD-map.
Please note that:
- β Not all applications are portable (many system applications remain in internal memory).
- β οΈ After the transfer, applications can run slower (depending on the speed). SD-map).
- π« Some functions (widgets, auto-run) may stop working.
7. Reset to factory settings (last resort)
If none of these things work, and the system memory is still full, it's a radical reset, but it's guaranteed to clean up all the files you don't need before you reset.
Keeping contacts (export to) VCF)|Copy photos/videos to PC or cloud|Record logins/passwords from accounts|Make sure you know the data from the Mi Account (if tied)-->
Instructions:
- Open Settings β About the phone β Reset settings.
- Select to erase all data (factory recovery).
- Enter the password from your Mi Account (if required).
- Confirm the action and wait for the completion (it will take 5-10 minutes).
β οΈ Note: Some Xiaomi models (e.g. Redmi) 9A, POCO M3) After the reset, the bootloader may be blocked if the phone was tied to the Mi Account. Make sure to remember the username and password!