java.lang.OutOfMemory decoding Bitmaps

by AlexBonel » Thu, 03 Mar 2011 04:35:32 GMT


Sponsored Links
 I know that there are a lot of topics in our group, related with this
one. But I would specify the most intelligent methods to avoid this
problem.

Is it always necessary to use recycle() method to free an allocated
memmory, because As I understand correctly BitmapFactory.decode...
(...) methods were made as using native code?

-- 



Re: java.lang.OutOfMemory decoding Bitmaps

by Doug » Fri, 04 Mar 2011 14:48:00 GMT


 


No, but it will free up the memory immediately instead of having to
wait for the GC to do it on its own time.

Doug

-- 


Sponsored Links


Re: java.lang.OutOfMemory decoding Bitmaps

by AlexBonel » Wed, 09 Mar 2011 02:00:06 GMT


 Oh, I see. Thanks for explanation, Doug.

--