On Fri, Dec 16, 2011 at 10:35 AM, Hithredin <[email protected]> wrote: > Do you know how the bitmaps are managed by Android 4.0? > In previous version the bitmaps were not located inside the VM of the > application, but in the Native Heap instead. > > I ask this question because my application works well under versions > 2.x and 3.x, but since 4.0, it take more than 25Mb of heap space > instead of 4Mb before. > After an investigation oh HPROF files with MAT, it shows that 3 > bitmaps take each 6MB of memory when the app run on 4.0 device, which > is not the case on lower versions.
MAT, for Android 3.0+, will report bitmap memory, whereas it did not on previous versions. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

