Can I ask what Android does with un caught OutOfMemoryErrors that it wouldn't do if I caught them? It's really tempting for me to do this:
try { setContentView(R.layout.result); } catch (OutOfMemoryError E) { outOfMemoryCount++; e.printStackTrace(); finish(); } If I don't catch the OutOfMemory my activity crashes, but then the user just clicks the button again and it loads great the second time. So something happens resulting in the right memory being cleared. -- 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