I save all the tasks in the activity manager
by using this code
List<ActivityManager.RunningAppProcessInfo> list = am.getRunningAppProcesses();
now, I can get some information from this list like for example the pid of each task etc
but how can I find out how much memory each tasks uses? is it possible to do so from having obtained the above list?
thanks in advance
Use ActovityManager.getProcessMemoryInfo() and iterate the array.