Displaying a bitmap of arbitrary size without running out of memory
How do I display an image of arbitrary size without OOMing or downscaling the image. I dont want to downscale due to zooming and dragging of the picture?
I开发者_如何学Pythonf it isnt possible to display an image of arbitrary size, how do I determine the maximum possible size of the image to display, without causing a OOM?
Bitmap data is aloccated in the Native heap rather than the VM heap. see BitmapFactory OOM driving me nuts for details on how to monitor the Native heap and how big your bitmap can get without hitting an OOM.
精彩评论