Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify Memory Leaks in Android?

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?

like image 321
Rajapandian Avatar asked Nov 06 '22 10:11

Rajapandian


1 Answers

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

like image 71
Fedor Avatar answered Nov 15 '22 14:11

Fedor