1

Bitmap / LayerDrawable leak on multiple FAST screen rotations

view story
linux-howto

http://stackoverflow.com – I read a lot of posts and comments on the Internet about Bitmap and Memory Leaks on screen rotation. Actually, the issue i am experiencing is quite particular... I use Eclipse DDMS and I am watching at the heap memory occupied by 1 byte arrays, which are related to my bitmaps placed in four ImageView, each one of them in a page of a ViewFlipper. The images are loaded from internal memory and are 216-220KB big, and I use a layer drawable in order to draw another transparent image on top of them. Keeping an eye on the heap memory occupied by the bitmaps, if I change the orientation of the dev (HowTos)