There is unhandled out of memory exception in ImageStorage.loadBitmap
(BitmapFactory.decodeStream). That cause whole application to crash when
loading large image in ViewArtActivity or when loading lot of thumbnails in
gallery.
How to reproduce:
1. create AVD with "Max VM application heap size"=16
2. run app. open art gallery
3a. scroll down to fetch new page 5-7 times. App will crash.
3b. open high resolution art submission. App also crashes.
This crash happens on hardware device also but not so easy reproducible due to
larger memory and not easy predictable memory leaks. The easiest way to
reproduce on hardware:
- allow load full size images in ViewArtActivity (uncomment line in
ViewArtActivity.run() that come with my patch)
- try to view some (5-10) art submissions
Original issue reported on code.google.com by ngr...@gmail.com on 10 Jul 2011 at 10:12
Original issue reported on code.google.com by
ngr...@gmail.com
on 10 Jul 2011 at 10:12