Android bitmap size exceeds VM budget.
My app is getting this error frequently. I have two questions.
.recycle();
and between system.gc();
?You should always try and recycle
Bitmaps afte you have used them.
As far as I understand, you should try and avoid calling system.gc()
.
Calling recycle()
will allow the bitmap object to be garbage collected.
I hope this helps.