I am struggling for a solution to find the memory used by particular process in android.
Using actvityManager.getRunningAppProcesses() I can able to get the consolidated list of all process’s memory usage.
But i need to implement a scenario where I should pass the processID and get the memory usage of particular process? Is this scenario possible in Android?
Thanks in Advance!
You can get the memory info using
and for a particular process use
which returns an array of memory information
I would ask you to refere these three
Get Memory Usage in Android
How to get current memory usage in android?
How do I discover memory usage of my application in Android?