Ah it may not be installed on a production device.  You could also do "adb
shell dumpsys meminfo" which will spew a bunch of stuff about the memory in
each process, or "adb shell dumpsys meminfo <processname>" for info about
your process.

On Fri, Sep 4, 2009 at 2:45 AM, Alger, Lin <addr...@gmail.com> wrote:

>
> Dear Hackborn,
>
> Thanks for your information, this command is work on emulator, but not
> work on my HTC Magic, however it's very useful to me.
>
> Thank you very much.
>
> Alger
>
> On 9月4日, 下午3時20分, Dianne Hackborn <hack...@android.com> wrote:
> > "adb shell procrank" is generally the most accurate memory usage
> information
> > -- in particular uss is the amount of memory private to your app, and pss
> > also includes the shared memory weighted across the number of processes
> it
> > is shared in.  (Ignore the other numbers, they are pretty much useless.)
> >
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > 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.
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to