How to Reset RAM on Xiaomi: The Complete 2026 Guide

Slowdowns, hang-ups and spontaneous reboots on Xiaomi, Redmi or POCO smartphones are often associated with a lack of RAM. Even on flagships like the Xiaomi 14 Ultra or POCO F6 Pro, MIUI background processes can eat up to 40-50% RAM, leaving critically few resources for games and applications. But unlike permanent memory, RAM cannot be cleaned manually โ€” it is controlled by the system. However, there are legal ways to force the RAM cache to be reset and optimize its use.

In this article, we will look at 5 proven methods, from standard MIUI tools to hidden engineering commands, and find out why some Xiaomi models (such as the Redmi Note 12 Pro+) after upgrading to MIUI 15, resetting RAM works differently than on older versions, and how to get around it. Importantly, all methods are safe and do not require root rights, but one of them can lead to the loss of unsaved data in open applications.

Why Xiaomi is โ€œcloggingโ€ RAM and when it should be reset

RAM (RAM) on Xiaomi is used not only for running applications, but also for:

  • ๐Ÿ“ฑ Cash. MIUI โ€” Preload systems for frequently used functions (e.g. animations or weather widgets).
  • ๐Ÿ”„ Background processes โ€“ even closed applications can leave active services (messaging, geolocation).
  • ๐ŸŽฎ Gaming accelerator โ€“ on models with HyperOS (for example, Xiaomi) 13T) part RAM play-back.
  • ๐Ÿค– AI functions โ€“ voice assistant, scene recognition in the camera, etc.

Reset RAM if:

  • โšก Phone slows down when switching between apps (for example, Instagram and Chrome hang at the same time).
  • ๐Ÿ”ฅ The temperature of the processor rises above 45ยฐC without load (checked in Settings) โ†’ Battery โ†’ Battery status).
  • ๐ŸŽฏ Apps are spontaneously closed (for example, YouTube or TikTok fly through the Internet). 10-15 minute-view).
  • ๐Ÿ“‰ In Task Manager (Settings) โ†’ Annexes โ†’ Running) can be seen that less than 20 are free% RAM.

โš ๏ธ Note: If after discharge RAM the problem is repeated through 5-10 minutes - it is not the lack of memory that is to blame, but a damaged firmware or a faulty module RAM. In this case, only a flashing or service center will help.

On new Xiaomi smartphones with HyperOS (for example, Xiaomi 14 or Redmi) K70) system optimizes itself RAM, But sometimes it works too aggressively, like killing the background processes of Telegram or WhatsApp. RAM Helps to โ€œresetโ€ the memory manager.

๐Ÿ“Š How often do you clean up? RAM on the Xiaomi?
Once a day.
Only when it's slowing down.
Never.
I don't know how to do that.

Method 1: Quick reset through the developer menu

The most reliable method is to use the hidden function Do not save actions in the developer settings. It forcibly closes all background processes, freeing up to 70-80% of RAM. Suitable for all models on MIUI 12-14 and HyperOS.

Instructions:

  1. Activate Developer Mode: Settings โ†’ About Phone โ†’ MIUI version (click 7 times) will be notified โ€œYou became a developerโ€.
  2. Back to Settings โ†’ Additionally. โ†’ For developers.
  3. Find the option Do not save actions (or Donโ€™t keep activities in English firmware) and turn it on.
  4. Restart the phone โ€“ once turned on, the RAM will be cleared.

โš ๏ธ Important: Once this option is activated, all apps will close when folded (like on iPhone). To return standard behavior, turn off the function back.

โ˜‘๏ธ Preparation for discharge RAM

Done: 0 / 4
Xiaomi modelMax, the volume of RAM.Recommended free volumeEfficiency of discharge
Redmi Note 12 Pro+8/12 GB2-3 GBHigh (releases up to 60%)
POCO X5 Pro6/8 GB1.5โ€“2 GBAverage (up to 40%)
Xiaomi 13 Lite8GB2GBLow (up to 30%)
Xiaomi 14 Ultra12/16 GB3-4 GBVery high (up to 70%)

Method 2: Forced process stops through ADB

For advanced users, there is a method using Android Debug Bridge (ADB), which allows you to manually โ€œkillโ€ unnecessary processes without affecting critical system services. It works on all models, including the Xiaomi Pad 6 and Redmi Watch 3 (if connected to a PC).

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/macOS/Linux.
  • ๐Ÿ”Œ Cable USB (preferably original).
  • ๐Ÿ“ฆ Installed drivers Xiaomi and ADB Tools.

Step-by-step:

  1. Enable debugging over USB: Settings โ†’ Additional โ†’ For developers โ†’ Debugging over USB
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the command line (Windows) or the terminal (macOS/Linux) and enter adb shell Then su -c "echo 3 > /proc/sys/vm/drop_caches" This command resets the cache of the core, which indirectly clears RAM.
  4. Forcing the closure of all user processes: adb shell am kill-all

โš ๏ธ Warning: Su command requires root rights. If you don't have any, use only am kill-all -- it's safe, but it clears less memory.

This method is particularly useful for POCO F5 and other gamers where MIUI background processes conflict with games like Genshin Impact or Call of Duty Mobile.

๐Ÿ’ก

If a "device unauthorized" error appears after the adb shell command, reconnect the cable and check that the phone is allowed to debug for this PC.

Method 3: Use the hidden menu ##4636##

All Xiaomi smartphones (except some models in China) have an engineering menu that allows you to manually manage memory, which does not require root and works even on locked downloaders.

How to open it:

  1. Launch the Phone app.
  2. Enter the combination: ##4636### The Testing menu will open.
  3. Go to the Usage statistics tab.
  4. Press Clear Memory Cache (Clear Memory Cache)

You can also see on this menu:

  • ๐Ÿ“Š Current loading RAM (percentage-byte).
  • ๐Ÿ“ฑ List of running processes with memory consumption.
  • ๐Ÿ”‹ Battery status and processor temperature.
What if the #4636### combination doesnโ€™t work?
On some firmware (such as Chinese or custom) the engineering menu is disabled. Alternatively, use the Activity Launcher app from Google Play to run the hidden activity of com.android.settings.TestingSettings.

On HyperOS (e.g. Xiaomi 14), this menu may be called Device Health Services, but the functionality remains the same.

Method 4: Automatic cleaning with MIUI Optimizer

For users who donโ€™t want to manually monitor RAM, thereโ€™s a built-in MIUI Optimizer tool that automatically closes unnecessary processes when less than 15% of free memory is left, and is available on all Xiaomi smartphones with MIUI 13+.

How to set up:

  1. Go to: Settings โ†’ Battery and Performance โ†’ Optimization
  2. Enable the option of Auto-cleaning memory.
  3. Click Cleaning Settings and select: ๐Ÿ”„ Aggressive cleaning โ€“ closes all background processes (can interrupt notifications). โš–๏ธ Balanced โ€“ leaves messengers and music. ๐Ÿ›ก๏ธ Sparing โ€“ cleans only the cache of system applications.

Set a schedule (e.g. every 6 hours).

Nana POCO-models, for example, POCO X6 Pro, this instrument is called POCO Optimizer and has an optional Game Turbo that backs up RAM play-off.

๐Ÿ’ก

Autocleaning RAM in MIUI Optimizer can conflict with some applications (e.g. Spotify or Google Maps). If they spontaneously close, add them to the exceptions in the optimization settings.

Method 5: Manual cleaning through Task Manager

If you don't want to dig into the settings, you can use the standard MIUI Task Manager, which is less efficient than previous methods, but it doesn't require any preparation.

How to clean RAM:

  1. Open recent apps (swipe up with a delay on the home screen).
  2. At the bottom of the screen, click on the Cart icon (or Close Everything).
  3. Confirm the action โ€“ it will close all user applications.
  4. For deep cleaning: Settings โ†’ Applications โ†’ Application management โ†’ Run Here you can manually stop system processes (for example, com.miui.weather2 โ€“ weather widget).

Their shutdown will lead to the collapse of the system and forced reboot.

What to do if RAM is still clogged quickly

If the memory is refilled in 5-10 minutes, the problem is deeper.

Problem.Reason.Decision
RAM is 90% full without running applicationsVirus or malwareScan the phone Malwarebytes or Dr.Web
Games fly out in 5-10 minutesLack of memory due to background processesEnable Game Mode in the settings
The phone is overheating and slowing down.Damaged RAM moduleCheck at the service center (MemTest86 test)
MIUI Optimizer is not working.System application failureReset settings through Settings โ†’ System โ†’ Reset settings

On HyperOS models (such as Xiaomi 14 or Redmi K70 Pro), there is an additional Memory Extension feature that uses a portion of the memory as virtual RAM.

  1. Go to: Settings โ†’ Additional โ†’ Memory Extension
  2. Select volume (recommended 2-3 GB).
  3. Reboot the phone.

โš ๏ธ Important: Virtual RAM It is slower than the physical, so it does not replace a full cleaning. Use it only if you have less than 6 GB of RAM.

FAQ: Frequent questions about Xiaomi's RAM reset

Can you clean up RAM on Xiaomi without rebooting?
Yes, all of the methods in this article (except for the Do Not Save Actions method) work without rebooting. The quickest way is to use the Task Manager or the ##4636## engineering menu.
Why did the RAM clean the phone become more braking?
This happens if you shut down system processes (e.g. com.android.systemui), restart your phone, the system will restore critical services, and check if aggressive optimization is included in MIUI Optimizer.
How to check how much RAM is free on my Xiaomi?
There are 3 ways: Open Settings โ†’ About โ†’ System Status โ†’ Memory. Use the Engineering Menu (#4636### โ†’ Usage statistics). Install the CPU Monitor app or DevCheck from Google Play. On HyperOS, RAM information is also displayed in the Control Panel (swipe down from the top right corner).
Will a RAM reset delete my files or apps?
No, cleaning the RAM does not affect: ๐Ÿ“ Photographs, videos and documents. ๐Ÿ“ฑ Installed annexes. ๐Ÿ”‘ Passwords and accounts: However, unsaved data in open applications (such as a draft in Word or progress in the game) may be lost.
Why isnโ€™t my Redmi Note 11 having a โ€œDo Not Save Actionโ€ option?
This function may be hidden in: ๐Ÿ“ฑ Smartphones with Chinese firmware (for example, Xiaomi for the market) CN). ๐Ÿ”’ Devices with locked boot loader (you need to unlock through Mi Unlock). ๐Ÿ“ฆ Third-party firmware (e.g. xiaomi.eu or Pixel Experience) Solution: Update your firmware to the latest version MIUI or HyperOS through Settings โ†’ Updating the system.