On Tue, May 1, 2012 at 2:50 AM, bob <b...@coolfone.comze.com> wrote:
> I'm trying to see the difference between ActivityManager.getMemoryClass()
> and ActivityManager.getLargeMemoryClass().
>
> The former function returns 64 and the latter returns 288 on my Galaxy Tab.
>  Which is accurate?  Does the app have a 64 MB heap limit or a 288 MB heap
> limit?

If you requested the large heap in the manifest, it would be the large
memory class. Otherwise, it would be the regular memory class.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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