Closed PrinceDholakiya closed 5 years ago
Bitmaps are already recycled when they aren't being used anymore. I think you are either restricted in memory and your mask is too large. One way is to fix this is to expand the mask loading with bitmapfactory parameters
I have got this error when I set a huge amount of Mask into setMask method one by one. Then sometimes it gives me OutOfMemory Error.
So my I hope you solve this error.
Suggestion for solving this error. Make bitmap variable global and when you have used it then recycle your bitmap.