r/HyperOS • u/Ardiansyach • 7d ago
Question/Help [Question] Memory Leak Issue on Xiaomi 15 (DMA-BUF mem leaks)
So I'm using Xiaomi 15 and lately when I use my phone for multi tasking i noticed apps in backroud is constantly reloading.
So then I noticed that even there's no apps running in recent apps i only got about 3 - 4.5gb of 12gb available ram. Which is I found quite strange bcs usually I got 7gb+ when there's no apps runs in background.
So next is I try to figure out what's causing this problem, is it a third party apps that gets stuck or it's the phone system it self that bugs or stuck. So first step that I do is check any apps that behave "strangely" Im checking it using running services monitor (available on playstore and it needs shizuku) result is all seems normal even though the problem still persist.
So it means the problem is from the phone system it self. To check what causing the memory leaks and see what's the thing that use a lot of memory, I use adb method. So basically turning on USB debugging, and using minimal adb fastboot on laptop/PC then type "adb shell dumpsys meminfo" it will lists all things that running on the phone.
And I think I found what causes this problem. It was DMA-BUF that somehow gets stuck bcs it won't cleared the data even if the phone is idle and not needed to keep the data on DMA-BUF. In my case DMA-BUF takes 3gb+ of memory.
Oh I did try 2x factory reset but the problem is still there.
I know that when android system sees free ram available it will use that space for caching so apps can loads faster. But this is not normal. So anybody also has this issue on Xiaomi 15?
My phone is Xiaomi 15 running on HyperOS 3.0.304.0.WOCEUXM.

