Reputation: 9317
I have developed a simple application before testing it i want to check whether any memory leaks are there in the application. I don't know how to identify the leaks in Android. I am using Eclipse IDE for development.
Is there a good introduction into finding memory leaks in Android apps somewhere?
Upvotes: 5
Views: 2986
Reputation: 43412
MAT plugin for eclipse, Just install it and click "Dump HPROF" button in Eclipse.
http://www.eclipse.org/mat/
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html
http://kohlerm.blogspot.com/2010/02/android-memory-usage-analysis-slides.html
http://kohlerm.blogspot.com/search/label/memory
Upvotes: 3
Reputation: 6427
Once you test an application through the Eclipse Emulator, you will be informed about any memory leaks by going through the LogCat.
Any memory leaks will be highlighted in red as far as I know.
Kev
Upvotes: -1