[android-developers] Anyway to pre allocate memory for a Bitmap?
Hello is there any way to pre allocate the memory required for a
bitmap. Android's memory model is making it very difficult for me to
cache images I need to cache.
It would seem the problem is because the VM heap rarely shrinks
itself, so I would like to just allocate memory for bitmaps ahead of
time? but I can not figure out how to do this?
Any help please!
--
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