Hi What is bitmap memory limitation for HTC Desire? As I know bitmaps are stored in native memory and limitation is 16 Mb. Logs say Limit=21884KB. We restricted our application to 12 Mb and then clear hashmap and call System.gc(). But we still have OOM:
06-07 12:03:43.978 E/dalvikvm( 29616):Out of memory: Heap Size=12311KB, Allocated=9420KB, Bitmap Size=12139KB, Limit=21884KB 06-07 12:03:43.978 E/dalvikvm( 29616):Trim info: Footprint=15751KB, Allowed Footprint=15751KB, Trimmed=3440KB 06-07 12:03:43.978 E/GraphicsJNI( 29616):VM won't let us allocate 1140128 bytes How can I get amount of free memory for bitmaps? Thanks in advance -- 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

