On Wed, Jun 8, 2011 at 1:15 PM, webmonkey <webmonke...@gmail.com> wrote:

> How does the native heap actually tell you, will malloc return NULL if
> it cannot reserve enough space?
>

No, as I said, your app will eventually be silently killed.


> And if you are a foreground app, you won't get in trouble will you
> (unless you use insane amounts of it) I can understand that a
> background app should not use more native memory than the limit.
>

Pretty universally people coming from a desktop environment have a very
different definition of "reasonable amount of memory" than is actually sane
for a mobile environment.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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