How to find out what is occupied by RAM on the smartphone Xiaomi: a full guide

RAM is one of the key resources of a smartphone that determines its speed and multitasking. On Xiaomi devices running MIUI or HyperOS, the lack of RAM is manifested by slowing down, spontaneous closure of applications or long loading of the interface. But how to understand what exactly eats up memory? In this article, we will examine all the ways, from built-in tools to professional utilities, including hidden firmware functions.

It is important to distinguish between RAM load and memory leakage: in the first case, the system simply actively uses resources (for example, for background processes or games), in the second case, the application or service โ€œforgetsโ€ to release memory after work, which leads to a critical slowdown. Xiaomi is facing this problem more often due to aggressive optimization MIUI, Sometimes conflicting with user preferences.

We tested all methods on the Redmi Note 12 Pro+, Xiaomi 13 Ultra and POCO F5 models with different firmware versions. Note: on devices with 4 GB of RAM and below, even standard processes can take up to 70-80% of memory, and on flagships with 12 + GB - no more than 30-40% in standby mode.

1. Built-in memory monitor in MIUI/HyperOS

The fastest way is to use a standard task manager that shows the current RAM load and active process list, to open it:

  1. Unlock your smartphone and swipe up from the bottom edge to open the menu of recent apps.
  2. Touch the "Three dots" icon" (โ‹ฎ) top-right.
  3. Select Memory Information (or Memory Manager in HyperOS).

Here you'll see:

  • ๐Ÿ“Š Total RAM and how much of it is occupied/free.
  • ๐Ÿ”„ List of applications sorted by memory consumption (from more to less).
  • โšก Clean button โ€“ it forcibly closes the background processes (but it is often not recommended to use it!).

On MIUI 14+ and HyperOS, Deep Cleaning has appeared in this menu, which removes the cache of system processes. It can be run no more than 1 time a day - otherwise you risk resetting some applications (for example, Google Play Services).

๐Ÿ’ก

If you see an unknown application with high RAM consumption (e.g. com.android.XXX), check it out via Virustotal or Malwarebytes โ€“ it could be malware.

2. Section "About the phone" - hidden statistics

Xiaomiโ€™s settings hide a section with detailed information about memory usage, including system processes that are not displayed in Task Manager.

  1. Open the Settings. โ†’ The phone.
  2. Tap 5 times in a row on the MIUI version (or HyperOS version) until the notification โ€œYou became a developer!โ€ appears.
  3. Go back to the main settings menu and open a new section for developers.
  4. Scroll down to the Debugging block and select Memory Statistics.

Here you'll see:

  • ๐Ÿ“ฑ Total use of real-time RAM (graphics updated every second).
  • ๐Ÿ› ๏ธ Distribution by category: applications, cache, kernel, drivers.
  • ๐Ÿ” List of all processes with indication PID (process identifier) and PPID (parenting).
Category of processTypical RAM consumptionCan I close it?
system_server300-800 MBโŒ No (critical process)
com.miui.home200-500 MBโŒ No. Launcher)
android.process.media150-400 MBโš ๏ธ Unless you use multimedia.
com.google.android.gms250-600 MBโŒ No (Google services)

โš ๏ธ Warning: Do not close processes called kernel, surfaceflinger or zygote, which will lead to a smartphone reboot or interface crash. >1GB of RAM, This is a Sign of a Firmware Failure.

3. Applications for RAM analysis: top-5 utility

Standard MIUI tools provide basic information, but for deep analysis, it is better to use third-party applications. We selected the 5 most effective ones:

  • ๐Ÿ“ˆ DevCheck โ€“ Detailed statistics on each process, including the use of CPU, GPU and RAM. There is a function of exporting logs.
  • ๐Ÿ” Simple System Monitor โ€“ displays RAM load graphs in real time with the ability to filter by application.
  • ๐Ÿ›ก๏ธ Greenify not only analyzes memory consumption, but also โ€œfreezesโ€ unnecessary background processes (requires root for full functionality).
  • ๐Ÿ“Š CPU Monitor โ€“ in addition to RAM, monitors the temperature of the processor and battery charge, which is useful for diagnosing โ€œgluttonousโ€ games.
  • ๐Ÿ”ง Termux + htop โ€“ for advanced users: terminal emulator with htop utility, which displays a complete list of Linux-style processes.

To install htop in Termux, follow the following commands:

pkg update && pkg upgrade


pkg install htop




htop

In the htop interface, pay attention to the columns:

  • MEM% is the percentage of RAM usage by the process.
  • TIME+ is the total time of the process (if the value is too high, it may indicate โ€œhangโ€).
  • COMMAND is the name of the process (you can Google unknown names).
๐Ÿ“Š What app do you use to monitor RAM?
DevCheck
Simple System Monitor
Greenify
CPU Monitor
Other/Not using

4. Hidden commands for engineering menu

Xiaomi smartphones have a hidden engineering menu that allows you to get memory data at a low level.

  1. Open the Phone app.
  2. Enter the combination: ##4636###.
  3. In the menu that appears, select Usage statistics (or Usage Statistics).

Here you'll see:

  • ๐Ÿ“Œ Time in Foreground โ€“ Application foreground.
  • ๐Ÿ“Œ Time in background โ€“ time in the background (if the value is too large, the application โ€œhangsโ€ in memory).
  • ๐Ÿ“Œ Memory usage โ€“ current RAM consumption.

For more information, enter another command:

##2664##

This will open the RAM test menu, where you can:

  • Check the integrity of RAM (useful after falls or overheating).
  • See hardware errors (if any, the memory may not work properly).
  • View the real frequency of RAM (on some Xiaomi models it is understated to save energy).

โš ๏ธ Warning: Do not change the settings in the engineering menu unless you are sure of their purpose! For example, a forced change in the frequency of RAM can lead to loss of warranty or damage to the memory module.

Launch the command ##4636##

Check the Usage Statistics section

Pay attention to applications with high time in background

Do not change unknown parameters

Reboot the phone after analysis-->

5. Logs of the system: how to find the "culprit" of the brakes

If the smartphone starts to brake suddenly, it could be a memory leak in one of the applications, and to detect it, you need to analyze the system logs.

  1. Install the Logcat Extreme or MatLog app from Google Play.
  2. Start log recording (start button).
  3. Replay the problem (for example, open a โ€œgluttonousโ€ application).
  4. Stop recording and filter logs by keywords: OutOfMemoryError is a memory loss error. MemoryLeak is a memory leak. ANR is Application Not Responding.

An example of a log that indicates a problem:

E/AndroidRuntime(12345): FATAL EXCEPTION: main


java.lang.OutOfMemoryError: Failed to allocate a 104857712-byte allocation with 16777216 free bytes and 33MB until OOM

In this case:

  • ๐Ÿ”น 12345 โ€” PID problem-progression.
  • ๐Ÿ”น 104857712 bytes (~100 MB โ€“ the amount of memory that the application could not allocate.
  • ๐Ÿ”น 33MB until OOM โ€” free memory before the collapse.

To find the PID application, use the command in Termux:

ps -A | grep 12345
How to save logs for analysis by a specialist?
1. In the MatLog app, click Save and select the format.txt or.log. 2. Send the file to the mail or the cloud (such as Google Drive). 3. When contacting Xiaomi, specify the smartphone model, firmware version (Settings โ†’ About Phone โ†’ MIUI version) and attach the log.

Hardware problems: when the "iron" is to blame

If all software methods did not help, the reason may lie in the physical malfunction of the RAM module.

  • ๐Ÿ“ฑ Who fell from a height (especially on concrete or asphalt).
  • ๐Ÿ”ฅ which overheated (for example, during charging or playing).
  • ๐Ÿ’ง Which came into contact with moisture (even if the phone worked normally after that).

Signs of hardware problem with RAM:

  • ๐Ÿ”„ The smartphone spontaneously reboots when booting >70% memory memory.
  • ๐Ÿข Applications run for a very long time, even after cleaning the RAM.
  • ๐Ÿ“‰ In the engineering menu (#2664##) the memory test shows errors (Fail).

What to do:

  1. Reset your phone to factory settings (Settings โ†’ About Phone โ†’ Settings Reset) If the problem persists, it's almost certainly hardware.
  2. Contact Xiaomi Service Center. Diagnostics of the RAM module is worth it ~500โ€“1000 โ‚ฝ, Replacement (if required) โ€“ from 3000 โ‚ฝ.
  3. If the phone is warranty, do not open it yourself - this will cancel the warranty obligations.

๐Ÿ’ก

On Xiaomi models with LPDDR5 (such as Xiaomi 14 or Redmi K70 Pro), hardware failures of RAM are less common than on older LPDDR4X, but they are more difficult to diagnose without special equipment.

7. RAM optimization: how to reduce the load

If the analysis shows that memory is full of unnecessary processes, it can be optimized without root:

  • ๐Ÿšซ Turn off auto-start applications: Go to Settings โ†’ Annexes โ†’ Application management. Select the application and disable Autorun.
  • ๐Ÿ”„ Limit background activity: In the same app settings, turn off Background activity. For Google Play Services, this cannot be done - it is critical for the system to work.
  • ๐Ÿ—‘๏ธ Clean the cache regularly: In Settings โ†’ Memory click Clear cache. For individual applications: Settings โ†’ Annexes โ†’ Warehouse โ†’ Clear the cache.

Use "Productivity Mode"

  1. In Settings โ†’ Battery, select Performance.
  2. This will reduce background activity but reduce battery life.

โš ๏ธ Note: On HyperOS, manually changing build.prop settings can result in bootloop locking.Before editing, back up through TWRP.

FAQ: Frequent questions about memory on Xiaomi

โ“ Why does it fill up quickly after cleaning the RAM again?
This is normal Android behavior: it tries to keep frequently used apps in memory for quick access. If you clean it up with >50% RAM, but the smartphone doesn't slow down, it's okay. Brakes start when you're free <10-15%.
โ“ Can I increase the amount of RAM on Xiaomi?
Physically, no, because memory is soldered to the motherboard. Virtually, you can create a swap file (root required), but it's a temporary solution that wears down the internal memory.
โ“ Why do games lie down, although RAM is free?
The reasons may not be in memory, but in: ๐Ÿ”ฅ Processor overheating (check through the processor) CPU Monitor). ๐Ÿ“ถ Weak Internet connection (lags in online games). ๐Ÿ”‹ Trottlinge (performance restriction due to low battery charge).
โ“ How to check how much RAM is actually installed in the phone?
Some manufacturers (including Xiaomi) reserve some of the memory for the system. To find out the exact amount: Install DevCheck. Go to the Hardware tab. See the Total RAM line for the full volume, and Available RAM for the user. For example, on the Redmi Note 12 Pro+ 8/256 GB of 8 GB, ~6.8 GB is available.
โ“ Why Task Manager shows 100% RAM usage, but the phone is working fine?
This is a feature of Linux (and Android is built on its kernel): free memory is spent memory; the system uses unused caching resources to speed up work; the main thing is to have at least 100-300 MB of free memory.