I have an app that I have been working on and it runs fine on the
simulator, but when I load it into my phone it crashes but only on the
second run of it.  I'm testing it on an HTC incredible. I think the
logcat line is
 15376 byte external allocation too larger for this process out of
memory heap size = 6599kb allocated 4136kb bitmap size = 17970kb

I can not seem to catch the exception,  It never fails the first time
I launch the app or if i exit using home instead of back.  I have
found that when I go back using the back key it goes through
onDestroy() and back to onCreate(), and then crashes.  I'm very
puzzled as to why it acts differently...seems like if it goes though
onDestroy next time it loads is like the first time.  I think it is
related to a large number of bitmaps I'm creating.

Thanks,
Nick

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