It was changed, but not in a way that would cause more OOM errors (actually OOM errors when creating bitmaps are much less of a problem in 3.0).
This is a pretty large bitmap, though, especially if you are making it 32bpp -- I think that would be 14MB. You may have been very close to the memory limit and are now hitting it, due to more memory being used for other reasons such as the larger screen. That said, the memory limit on 3.0 for tablet class devices is significantly larger than it was on previous versions of the platform -- it is now 48MB, and in GB for hdpi phones it was 32mb. There must be something else using significantly more memory. Fortunately on 3.0 this is a lot easier to track down since Bitmap allocations are really part of the Dalvik heap so directly visible when you use heap analysis tools. On Wed, Apr 27, 2011 at 2:04 PM, Sergey Okhotny <[email protected]> wrote: > Was it changed where Bitmap.createBitmap stores bitmap data (dalvik heap or > Native heap)? > Becuase I can successful create bitmap 2000x2000 on Android 2.2 and get > OutOfMemoryException on 3.0? > > Thanks > > -- > 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 -- 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

