How to check the memory status on Xiaomi Mi 9: RAM, ROM and cache

The Xiaomi Mi 9, released in 2019, is still popular with users thanks to its powerful hardware: Snapdragon 855 processor, 6-8 GB of RAM and 64-256 GB of internal storage. However, over time, even flagship devices begin to β€œbrake”, and the fault is often overloaded memory. How do you know what the problem is? Where to see the current state of RAM (RAM) and ROM (internal storage), and how to clean the cache without harming the system?

In this article, you will find current ways to check memory on Xiaomi Mi 9 with the features of MIUI 12-14 (including global and Chinese versions of firmware).We will analyze both standard methods through phone settings, and advanced methods using ADB, third-party utilities and hidden menus of engineering mode. We will pay special attention to the diagnosis of β€œleaks” of RAM and analysis of storage employment by category (applications, media, system data).

1. Memory check through standard MIUI settings

The easiest way to do this is to use the built-in MIUI tools, which provide basic information about memory status, but often enough for initial diagnosis.

Open the Settings app (cog icon) and go to About Phone, and you're interested in two things:

  • πŸ“± General information β†’ Memory: shows the volume of the ROM (internal storage) and its occupancy. On Mi 9, the section for the ROM is displayed here. MIUI Optimized Storage (optimized storage) if the function is active.
  • πŸ”„ Status of the system β†’ Memory usage: Real-time RAM loading graph. Click on it to see a list of applications that consume the most RAM.

Note the line Available in the memory section. If the free space is less than 10-15% of the total, the system will start to β€œbrake” due to lack of cache space and temporary files, in which case it is recommended to clear unnecessary data (more about this in section 4).

πŸ“Š How often do you check your memory status on your smartphone?
Once a week.
Only when the phone starts to brake
Never checked.
I use automatic cleaners.

2 Detailed Memory Analysis Through "Security"

The Security (Shield Icon) app in MIUI offers advanced memory monitoring tools, pre-installed on all Xiaomi smartphones, including the Mi 9.

  1. Open Security β†’ go to the Optimization tab.
  2. Slip on Memory (or Storage in newer versions of MIUI).
  3. The system will automatically scan the device and show:
ParameterDescriptionNormal values for Mi 9
Occupied with RAMPercentage of RAM used30-70% (depending on the applications running)
Free ROMVolume of free internal storageMinimum 5-10 GB for stable operation
Cash app.Temporary files that can be cleanedUp to 1-2 GB (if more, it’s time to clean)
Garbage filesResidual data of remote programsUp to 500 MB (over – requires cleaning)

The Clean button is also available in this section, which removes cache and junk files, but be careful not to clear the cache of system applications (e.g. com.android.systemui) as this can cause MIUI shell to malfunction.

πŸ’‘

If there is no β€œOptimization” tab in the β€œSecurity” section, update the app via Google Play or the MIUI App Store. The interface may differ in older versions.

Advanced diagnostics via engineering menu (#4636##)

The hidden engineering menu allows you to get technical data about the state of memory that is not available in standard settings.

  1. Launch the Phone app.
  2. Enter the combination: ##4636## (no call).
  3. Select the item Information about the phone (or Usage statistics in English firmware).

Here you will see the Memory section with detailed statistics on RAM:

  • πŸ“Š MemTotal: total RAM (for Mi 9 – 6 or 8 GB).
  • πŸ“‰ MemFree: free memory (optimally - at least 1-1.5 GB).
  • πŸ”„ Buffers/Cached: memory occupied by the cache of the kernel and buffers (it can be considered "conditionally freeΒ»).

If MemFree is consistently close to zero (less than 300-500 MB), this indicates a memory leak – one or more applications do not release RAM after closing, in which case it will help to restart the device or force the problem programs to stop through Settings β†’ Applications.

What to do if the engineering menu is not opened?
If the ##4636### combination doesn’t work, try: 1. Install the MTK Engineering Mode app (for MediaTek-based firmware) or Shortcut Master (for hidden menus). 2. Enable Developer Mode (7 times tap the build number in Settings β†’ About phone) and check for the Engineering mode item in the developer’s settings. 3. Update the firmware to the latest version of MIUI – in older builds, some engineering functions are disabled.

4.Memory Cleanup: What Can Be Deleted Without Risk

If the analysis shows a memory deficit, the first thing to do is to make room, but it should be done competently so as not to disrupt the system.

β˜‘οΈ Safely cleansing memory

Done: 0 / 5

Here is what we do not recommend to touch:

  • 🚫 Files in folders /system, /vendor, /data/app (system-data).
  • 🚫 Cache applications com.miui, com.android.systemui (may cause shell failures).
  • 🚫 folder MIUI at the root of the storage (contains themes and system settings).

For deep cleaning, use Files by Google (available on the Play Market) to find:

  • πŸ—‘οΈ Temporary files (remains after updates, browser cache).
  • πŸ“ Large files (video, archives, unused files) APK).
  • πŸ” Duplicates (repeated photos or documents).

πŸ’‘

Before a mass cleanup, back up important data through Settings β†’ Additional β†’ Backup. This will prevent the necessary files from being accidentally deleted.

5. Memory monitoring via ADB (for power users)

If you want the most accurate memory status, you can use the Android Debug Bridge (ADB) tool, which requires connecting your smartphone to your computer, but you get information that is not available through the GUI.

To start, turn on USB debugging:

  1. Activate Developer Mode (7 times tap the build number in Settings β†’ About phone).
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.

Now connect the Xiaomi Mi 9 to your PC and execute the following commands in the terminal (or Command Prompt):

adb shell dumpsys meminfo


adb shell df -h

The first team will provide detailed statistics on RAM, including:

  • πŸ“Œ Native Heap: memory occupied by native processes.
  • πŸ“Œ Dalvik Heap: memory used by Android virtual machine.
  • πŸ“Œ Private Dirty: The β€œdirty” memory that can’t be uploaded to the disk.

The second command (df -h) will show the status of the ROM by section (e.g. /data, /system). Note the Available column, which is the real available space for user data.

⚠️ Note: Do not use the commands adb shell rm or adb shell pm uninstall without understanding the consequences. Deletion of system files can lead to a blink (inoperability) of the device.

6. Applications for memory analysis: top-3 utility

If standard MIUI tools aren't enough, you can install third-party apps that offer more visualization and additional features like automatic cleaning on schedule. Here are the proven options for Xiaomi Mi 9:

AnnexFeaturesReference
SD MaidDeep cache cleaning, duplicate search, database analysisGoogle Play
AccuBatteryMonitoring battery and memory consumption in the background (shows "gluttonous" applications)Google Play
DevCheckTechnical information on iron, including detailed statistics on RAM and ROMGoogle Play

When using SD Maid, look at the CorpseFinder partition, which finds residual files from remote applications that often take up hundreds of megabytes. And AccuBattery's Deep Sleep graph is useful: if the phone rarely goes into deep sleep, it can indicate background activity of applications that consume RAM.

⚠️ Warning: Some cleaners (such as Clean Master) aggressively remove cache, which can slow down the system. MIUI already has built-in optimization mechanisms, so cleaning 1-2 times a month is enough.

FAQ: Frequent questions about memory on Xiaomi Mi 9

Why does Mi 9 run out of memory when I don’t install anything?
The reasons may be as follows: πŸ“Έ Automatic photo backup in Google Photos or Mi Cloud (check sync settings). πŸ“¦ Application updates: Some programs (such as games) download additional data in the background. πŸ—‘οΈ Logs and dumps: after failures, the system can create reports files (folder) /data/log). Use Files by Google to find large files created in recent years 7 days.
How do you know which app consumes the most RAM?
There are two ways: through Settings β†’ Applications β†’ run (sorting by memory usage). Through ADB: run the command adb shell dumpsys meminfo --package to see a detailed report on each process. On the Mi 9, the most commonly consumed RAM is com.miui.home (launcher), com.android.systemui (system interface), and messengers (com.whats, org.telegram.messenger).
Can I increase my memory on the Mi 9?
Physically, no, because RAM is soldered into the motherboard: πŸ”„ Optimize current usage: disable background activity of unnecessary applications in Settings β†’ Battery β†’ Energy saving regime. πŸ› οΈ Use the function RAM Expansion (available in MIUI 12.5+): It reserves a portion of the ROM for virtual RAM. It activates in Settings. β†’ Additionally. β†’ Expanding Memory: Virtual memory is less effective than physical memory, but can help with multitasking.
What if after cleaning the memory, the phone brakes even more?
It is a typical situation where: 🧹 Cleared cache of system applications (for example, com.miui.gallery or com.android.phone). πŸ”„ Deleted dalvik-cache file (it recovers when rebooted, but it takes time). πŸ“‰ The system activates a power saving mode that limits performance. Solution: restart the device and wait 10-15 minutes, the system will restore the necessary temporary files. If the brakes are left, check the temperature of the processor (possibly overheated due to clogged cooling).
How to transfer applications to the memory card on the Mi 9?
There is no microSD slot on the Xiaomi Mi 9, so porting apps to an external drive is not possible: πŸ”„ Use it. USB-OTG to connect a flash drive (but applications will not run from it). ☁️ Transfer media files (photos, videos) to the cloud (Google Drive, Mi Cloud). πŸ“± Remove unused programs and clear the cache (see section 4). If critically space is scarce, consider buying a model with a large ROM (e.g., the 512GB Mi 9 Pro).