Android - How To Track The Memory Usage Of An Any Running App On Device Programmatically?
How to check that how much memory(RAM) is getting consumed by any of currently running app on device? Thanks.
Solution 1:
Look at the ActivityManager.
getRunningAppProcesses
will get you a list of PIDs, and then getProcessMemoryInfo
will give you memory details about them.
See the following thread for an complete, in-depth answer: How do I discover memory usage of my application in Android?.
Post a Comment for "Android - How To Track The Memory Usage Of An Any Running App On Device Programmatically?"