There is probably a standard Java API to get the Java heap size, but I don't
know it myself.  However 2.0 also has an API for you to get a general idea
of the memory class of the device:

http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()

On Tue, Oct 27, 2009 at 3:06 PM, niko20 <[email protected]> wrote:

>
> Hey, I noticed when you create an AVD now that you can set an
> application max heap size. I found that when I did WVGA800 it was set
> to 24. So it looks like it's more than the 16 we are used to.
>
> I there an API method to get the value of this max heap size? I
> haven't looked into that yet.
>
>
> -niko
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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