On Thu, Mar 14, 2013 at 4:15 AM, Piren <gpi...@gmail.com> wrote:
> Actually even 5K can crash his app... it all depends on what he did before
> the allocation.
> Android has a nasty bug of claiming you dont have enough memory even if your
> heap has more than enough free space if it grew close to its maximum value
> previously (and dont't forget fragmentation as well, 10MB of free heap
> doesn't mean you can allocate 10MB).

Notice that I said "heap size" and not individual allocation because
of this :-).  This is nothing specific to Andorid: Linux does this
too.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to