BitmapFactory OOM driving me nuts
问题 I\'ve been doing a lot of searching and I know a lot of other people are experiencing the same OOM memory problems with BitmapFactory . My app only shows a total memory available of 4MB using Runtime.getRuntime ().totalMemory() . If the limit is 16MB, then why doesn\'t the total memory grow to make room for the bitmap? Instead it throws an error. I also don\'t understand that if I have 1.6MB of free memory according to Runtime.getRuntime().freeMemory() why do I get an error saying \"VM won\'t