You've got a *maximum* of 16 MB. The heap will grow as needed but if
you try to grow beyond 16 MB, you get an OutOfMemoryError.

On Wed, Feb 4, 2009 at 10:34 AM, Gw1921 <[email protected]> wrote:
>
> Also, the Heap viewer says the emulator has 2.5MB of Heap and 1.8MB is
> being used (supposedly by my app). I was under the impression that
> we've got a total of 16MB of heap?
>
> 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

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