I’m beginning Android development and I am concerned about leaks.
I think thread leaks can get reported in logcat if memory serves. But what other types of leaks get reported by logcat? I have gotten feedback about potential leaks that concerns me and I take it very seriously.
What other ways do I have for detecting leaks? For example can I instrument my code so that an otherwise unnoticeable leak will show up in logcat?
Thanks for any reply. Happy coding.
Great talk at IO this year on the subject http://www.google.com/events/io/2011/sessions/memory-management-for-android-apps.html