I have an application which creates a series of Bitmaps. I am holding
these Bitmaps in SoftReferences, to avoid running out of memory. I
would like the heap size to grow to the maximum 16MBs before it starts
collecting my SoftReferences. However, the SoftReferences are
collected very eagerly, prior to growing the heap to it's max. Is
there anyway to force the references to be collected less eagerly? or
to manually grow the heap to the max? Possibly a way to just start the
application with 16mb allocated?

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