On Feb 10, 4:41 am, GiladH <gila...@gmail.com> wrote:
> 1. hprof only works on emulator (unless i'm missing something). i
> would much prefer to analize mem usage
>     on the device itself. Is there a tool that does it?

As implemented in 1.0 it requires root access (you need to "chmod 777 /
data/misc").  This can be had in the emulator or on the "ADP1"
developer device.

> 2. when used on the emulator, hprof measure an amazing level of mem
> usage by rather 'trivial' classes
>    such as Class object and byte[], is there a way for me to learn
> which 'significant' class is the owner of these
>    classes, e.g.:
>       - your app has 5555555 byte[] classes,  70% of which are owned
> by MyClass

That's entirely a matter of presentation by your hprof analysis tool
of choice.  I don't have an opinion on which will work best here.

--~--~---------~--~----~------------~-------~--~----~
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