On Wed, Feb 8, 2012 at 2:21 PM, Lidia <lidyp...@yahoo.com> wrote:
> Does VM allocates objects in heap memory?

Yes.

> In the last example:
> 153600-bytes means    ==  0.14648 MB. I had free  3.005MB , why i got
> OutOffMemory?

Probably it means that the heap is fragmented, and while you have a
lot of space overall, you do not have any single contiguous block that
is the size you requested.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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

Reply via email to