DDMS is indeed the tool for the job. You may want to check out
Romain's recent post on the subject on the Android blog:
http://android-developers.blogspot.com/2009/02/track-memory-allocations.html

I think you have to configure something to get your app to be seen by
DDMS on a real device. I cannot recall exactly what that is right now,
and will try to look it up. But for the moment why not just use the
emulator? When I run my app on the emulator I see it in DDMS right
away and am able to use the allocation tracker. I would not expect
there to be any significant difference in terms of object creation
running your app on the emulator and a real device.

Hope that helps!

Greg

On Feb 15, 8:17 am, Rye <[email protected]> wrote:
> I've been trying to locate some excessive object creation to deal with
> hiccuping caused by the garbage collector (any word on upcoming
> improvements to this, btw?), and have discovered that DDMS is the tool
> for the job.  I shut down eclipse and booted up DDMS, and it finds my
> device, but lists no processes running (no matter what I run).
>
> Initially, it did list the "powermanager" app that I had installed, so
> I assumed this was causing some kind of conflict and uninstalled it
> and rebooted my device.  Now it simply lists no processes.
>
> Has anyone had a similar experience?
>
> Thanks for any help!
>
> -Rye
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to