Re: [android-developers] Re: creating Bitmap from pixel data *without* copying the data
On Mon, Jul 9, 2012 at 6:17 PM, Romain Guy <romainguy@android.com> wrote:
> Bitmap allocations always count towards your heap limit. Until Android 3.0,
> Bitmaps were allocated on the native heap but counted against your maximum
> Dalvik heap. Starting with Android 3.0, Bitmaps are allocated directly on
> the native heap.
Cool, so now we now why I'm running OOM. However, what are the best
practices handling Bitmap data that don't fit into memory twice?
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home