There is lots of memory sharing between processes, so this is actually a really hard thing to determine. For development purposes, the "procrank" command is the most common tool to use. The last two columns of memory usage are the most interesting ones: the last one is the memory owned exclusively by that process, and the second to the last is that plus the shared memory weighted by how many processes are sharing each page.
Note that this command is not part of the SDK, and for format of its output tends to change, so it should only be used for development purposes. For even more detail specifically about Java processes, you can use "adb shell dumpsys memoryinfo" On Wed, Jul 15, 2009 at 3:45 AM, arvind <[email protected]> wrote: > > Hi all, > > I want to calculate the performance for some of the task/process. > > How to find out the percentage of memory used by each process in the > android. > - is there any in build class\process to do this? > > > Thanks and Regards > Aravinda > > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

