0

I am facing a big problem with Bitmap memory leak.

this is the dump

This memory dump shows the Bitmap never go way but stay in the heap and it causes ARN.

How can I solve this?

This is mostly used in Adapter.

c-an
  • 3,543
  • 5
  • 35
  • 82
  • If you could provide more detail on how you are creating the resource and then cleaning it up that would help in providing an answer. – Zemichael Tesfaye Oct 05 '21 at 06:20
  • Does this answer your question? [Bitmap, Bitmap.recycle(), WeakReferences, and Garbage Collection](https://stackoverflow.com/questions/4959485/bitmap-bitmap-recycle-weakreferences-and-garbage-collection) – Omar Shawky Oct 05 '21 at 06:39

0 Answers0