Hello developers, Please help me to understand this:
In my app i am checking heap info and as i see, i have enough space, however I have an OutOffMemory error from time to time. How is that possible, when i have, e.g: HEAP_SIZE: 7.007MB -> Runtime.getRuntime().totalMemory()/ 1024d/1024d; HEAP_ALOCATED: 4.002MB -> HEAP_SIZE - HEAP_FREE; HEAP_FREE: 3.005MB -> Runtime.getRuntime().freeMemory()/ 1024d/1024d; the same values as in DDMS HEAP And, after the 46th bitmap load i have the error : 1058400-byte external allocation too large for this process. VM won't let us allocate 1058400 bytes or other time 1035552-byte external allocation too large for this process. VM won't let us allocate 1035552 bytes 153600-byte external allocation too large for this process. VM won't let us allocate 153600 bytes what does it mean? Does VM allocates objects in heap memory? In the last example: 153600-bytes means == 0.14648 MB. I had free 3.005MB , why i got OutOffMemory? Please help me, i am trying to solve this issue few weeks. Thanks in advance Lidy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en