Your Xiaomi has slowed down, apps are spontaneously shutting down, and games are hanging over? The reason is often a lack of RAM. Even the powerful Redmi Note 12 Pro+ or POCO F5 models eventually start to choke on background activity. Unlike internal storage, RAM is not designed to store data for long periods of time β it temporarily stores the tasks that the processor is performing at the moment.
The problem is, MIUI It aggressively caches applications, and some services (e.g. miui.analytics or com.xiaomi.midrop) work in the background even after closing. 7 free-limit RAM β From basic to advanced, including hidden developer settings and kernel optimization. All methods tested on current versions. MIUI 14/15 HyperOS.
1. Quickly clean RAM through the notification panel
The easiest way is to use the built-in Memory Cleanup tool, which is available on all Xiaomi smartphones regardless of model.
- Swipe your finger down from the top of the screen to open the notification bar.
- Find the Clean icon (usually located in the upper right corner next to the brightness settings).
- Slip on it β the system will close all background processes, except for system ones.
β οΈ Note: This method only cleans user applications. System services (e.g. com.android.phone or miui.guardprovider) will remain active.
The effect of this cleaning is temporary, in 10-15 minutes, the background processes will recover.
2. Optimization of application autoloading
Many programs (Facebook, TikTok, AliExpress) automatically start when you turn on your phone or after you restart, which eats up to 30-40% of RAM in the first minutes of operation.
Method 1: Through the MIUI settings
- Go to Settings β Applications β Application Management.
- Select the "Shootout" tab.
- Disable unnecessary apps (such as games or instant messengers you donβt use daily).
Method 2: Through ADB (for Advanced)
Some system applications (e.g. com.miui.weather2) are not displayed in the standard menu, to block their autoboot:
adb shell pm disable-user --user 0 com.package.name
adb shell cmd appops set com.package.name BOOT_COMPLETED denyReplace com.package.name with an application ID (you can find it through the App Inspector in the developer settings).
Call of Duty, PUBG, Genshin Impact
Social networks (TikTok, Instagram, Facebook)
Messengers (Telegram, Viber β if you do not use push notifications)
Xiaomi Services (Mi Video, Mi Music, GetApps)
-->
β οΈ Warning: Disabling autoboot for com.google.android.gms or com.xiaomi.finddevice may disrupt Google Services or Find Device functionalityΒ».
3. Configure the limitation of background processes
MIUI allows up to 20 processes to be played in the background at a time, too much for weaker smartphones (e.g. Redmi 9A or POCO M3), and 4-8 processes, depending on the RAM volume, are optimal.
| RAM volume | Recommended number of background processes | Examples of models |
|---|---|---|
| 2-3 GB | 2β4 | Redmi 8A, POCO C31 |
| 4-6 GB | 4β6 | Redmi Note 10, POCO X3 Pro |
| 8-12 GB | 6β8 | Xiaomi 12T, POCO F4 GT |
| 16+GB | 8β12 | Xiaomi 13 Ultra, Black Shark 5 Pro |
To change the limit:
- Activate Developer Mode: Go to Settings β About Phone and tap the MIUI version 7 times.
- Back to Settings β Additionally. β For developers.
- Find the βprocess limitationβ item and select the appropriate value.
π‘
Once the restriction changes, restart the phone, which will apply the settings to all system services, not just user applications.
4. Cleaning the cache of system applications
Xiaomi system applications (for example, com.miui.home β launcher or com.android.systemui β system interface) accumulate cache, which can take up to 1-2 GB of RAM. It can only be cleaned through ADB or specialized utilities.
Instructions for MIUI 14/15:
adb shell pm clear com.miui.home
adb shell pm clear com.android.systemui
adb shell pm clear com.miui.securitycenterβ οΈ Warning: After cleaning com.miui.home will be dumped:
- Location of icons on the desktop;
- Wallpaper settings;
- App folders.
We recommend taking screenshots of the current configuration.
What system applications can be cleaned without risk?
5.Use of the Deep Clean function
In MIUI 14 and later, we have Deep Cleanup, which removes not only the cache, but also temporary kernel files, hidden in the security menu:
- Open the Settings β Memory.
- Slip on "Cleanup" at the bottom of the screen.
- Select βDeep Cleanβ (password confirmation may be required).
- Wait for the process to be completed (it will take 2-5 minutes).
This function removes:
- ποΈ Residual files of remote applications;
- π± Logs of system errors (/data/anr and /data/tombstones);
- π Cash. ART/Dalvik (speed up application launches).
π‘
Deep cleaning temporarily reduces performance (the system recollects cache), but after 10-15 minutes, the phoneβs operation stabilizes and RAM is released by 15-25%.
6. Disable animations and visual effects
MIUI is known for its beauty -- smooth transitions, animations when you open apps, blur effects -- all of which consume RAM and CPU resources, and you can turn them off in the developer's settings.
- π¨ The scale of window animation: set off. or 0.5x;
- π The scale of transition animation: off.;
- β‘ Duration of animation: Off.;
- πΌοΈ Disable Wallpaper Blurring (Point Force Disable Blurr).
These settings will not only free up to 100-300MB of RAM, but also speed up interface response by 20-30%, especially on budget models (Redmi A2, POCO C50).
7 Advanced Methods: Changing swappiness and zRAM
Low-level optimizations are available for users with root rights or an unlocked bootloader:
Setting up swappiness
The vm.swappiness parameter determines how actively the system uses the paging file. The default in MIUI is 60, which leads to frequent use of zRAM (compressed RAM) instead of physical RAM. The optimal value is 10-20.
To change it:
su
echo 10 > /proc/sys/vm/swappiness
sysctl -w vm.swappiness=10Optimization of zRAM
Xiaomi uses zRAM to compress data into RAM, but by default allocates only 20-30% of physical memory for it. Increase the limit to 50-70%:
su
echo $(($(grep MemTotal /proc/meminfo | awk '{print $2}') * 50 / 100)) > /sys/block/zram0/disksizeβ οΈ Note: Incorrect swappiness or zRAM settings may result in:
- Frequent reboots with a lack of memory;
- Loss of unsaved data in applications;
- Increased wear of internal storage (if a swap file is used).
We recommend testing the changes one by one and monitoring the stability of the system.