16 or more applications are regularly kept in the background; 48 MB is a good limit for the vast majority of applications which allows good use of available memory for the stuff regularly going on and to facility quick switching between applications.
Also, before getting so cranky, please read the documentation: http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass() On Fri, Apr 22, 2011 at 1:30 PM, Fabio Yasusi Yamamoto <fabi...@gmail.com>wrote: > Hi > > I'm trying to understand why the heap size of a single application is > so small. > > I mean, there are phones with limited RAM, and the heap size is about > 16mb. Small but not so bad..... > The new devices and even the motorola XOOM with 1GB RAM, is limited to > 48mb of heap space. What the hell were they thinking?, They really > expect that i will open 21 simultaneous applications? > > > I'm also a iOS developer, and 48mb was about the memory limit of > IPHONE first gen. , that was 4 years ago!! ( and the iphone had > 128mb ) > > I know a lot of people will say that i can use NDK, mmap, > texttures.... but hey, why? if i can use more ram using the NDK, why > the limit in java heap? > > Now ( using the NDK ) i will need to put a extra layer of complexity > ( libraries, leaks, plataforms, armv5, armv7, debugging... etc ) to do > something that should be very simple. > > > Whyyyyyyyy > > -- > 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 > -- Dianne Hackborn Android framework engineer hack...@android.com 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 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