fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Getting outofmemory

Open thizisarun opened this issue 11 years ago • 3 comments

I am getting out-of-fmemory when i am set a failure image to simpledrawee view. Why this is occur?

thizisarun avatar Oct 22 '15 09:10 thizisarun

How big is your failure image ? Is it a Bitmap ?

michalgr avatar Oct 22 '15 11:10 michalgr

My failure image size is 5.10kb and its drawable

thizisarun avatar Oct 28 '15 12:10 thizisarun

Does it always happen exactly when you set a failure image? or randomly at different spots in your app?

If Fresco is causing OOMs, the most common cause of this is using very large images and not resizing them.

tyronen avatar Nov 03 '15 17:11 tyronen