6

How to check that how much memory(RAM) is getting consumed by any of currently running app on device?

Thanks.

BradleyDotNET
  • 59,038
  • 10
  • 94
  • 113
Varundroid
  • 8,940
  • 14
  • 62
  • 91

1 Answers1

9

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?.

Community
  • 1
  • 1
Brian Clow
  • 146
  • 3