Sunday, September 11, 2011

Re: [android-developers] Re: OutOfMemory exceptions



On Sun, Sep 11, 2011 at 4:11 AM, gjs <garyjamessilva@gmail.com> wrote:
These are typically OutOfMemory errors (not exceptions) which you can
catch in a try catch block, you can then hide these errors from the
user or display a friendly message.

In general you can't do that. If you have an OutOfMemoryError the JVM can't allocate more memory and then you can't show a message or something because there is no memory to build the objects.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment