You really really should be catching OutOfMemoryError, not eating every
possible exception that could come out of the code.

2009/8/3 whitech <[email protected]>

>
> thank you, I can catch the error now. I've use catch(Exception) not
> catch(Error) before so I can't catch it.
> There is another problem, can I push the limit of memory higher? It is
> a little too small with only 16 MB
>
> On 8月4日, 上午2时14分, fadden <[email protected]> wrote:
> > On Aug 2, 8:01 pm,whitech<[email protected]> wrote:
> >
> > > Hi all. I've got this problem:
> > > When my program using too much memory, it die. Is there an exception
> > > or something else to warn me? How can I catch it?
> >
> > What exception is appearing in the log file when your application
> > dies?
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to