When you click on an allocation in DDMS it shows you the stack trace
for that allocation.

On Wed, Feb 4, 2009 at 11:00 AM, Gw1921 <[email protected]> wrote:
>
> Thanks again, this looks interesting. Also, where can we find
> explanation of fields displayed under the Allocation View. For
> example, "data objects" in our case are piling up and killing the app.
> What exactly are these and how can I trace back to where these were
> allocated?
>
> Cheers!
>
> On Feb 4, 6:34 pm, Romain Guy <[email protected]> wrote:
>> There's been a discussion recently about heap analysis. There is a way
>> to send a signal to running processes to get a heap dump.
>> Unfortunately the format of the dump is currently compatible only with
>> an internal tool. Andy McFadden wrote a conversion tool that turns the
>> heap dumps into "standard" hprof dumps that can be opened and analyzed
>> by MAT, VisualVM, JProfiler, etc. You will information 
>> there:http://groups.google.com/group/android-developers/browse_thread/threa...
>>
>>
>>
>> On Wed, Feb 4, 2009 at 10:29 AM, Gw1921 <[email protected]> wrote:
>>
>> > Thanks for that Romain. I read your article as well - very
>> > informative. I'll have a look at DDMS as you've suggested as I'm
>> > getting out of memory errors left right and center. So far tracing/
>> > profiling has proven to be extremely painful.
>>
>> > I greatly appreciate the effort being put into a heap analysis tool.
>> > Do you happen to have an ETA?
>>
>> > Thanks again
>>
>> > On Feb 4, 4:30 pm, Romain Guy <[email protected]> wrote:
>> >> Hi,
>>
>> >> The SDK comes with traceview and DDMS to analyze performance. For
>> >> memory usage, you can use DDMS to track allocations and the state of
>> >> the heap. We are also working on ways to give SDK developers access to
>> >> a heap analysis tool.
>>
>> >> On Wed, Feb 4, 2009 at 8:17 AM, Gw1921 <[email protected]> wrote:
>>
>> >> > Hi
>>
>> >> > I've been running Eclipse on Mac OS X for android development. Since
>> >> > I'm new to eclipse I'm not sure how to profile my apps. Especially
>> >> > Memory usage. Could some one guide me to a direction please? Thanks!
>>
>> >> --
>> >> Romain Guy
>> >> Android framework engineer
>> >> [email protected]
>>
>> >> Note: please don't send private questions to me, as I don't have time
>> >> to provide private support.  All such questions should be posted on
>> >> public forums, where I and others can see and answer them
>>
>> --
>> Romain Guy
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time
>> to provide private support.  All such questions should be posted on
>> public forums, where I and others can see and answer them
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  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
-~----------~----~----~----~------~----~------~--~---

Reply via email to