How to fix memory leaks in Android?
deepak - Mon Feb 13 2012 23:17:17 GMT-0500 (EST)
Good article on performance handling
deepak - Mon Feb 13 2012 23:35:32 GMT-0500 (EST)
How to get the heap dump?
deepak - Mon Feb 13 2012 23:57:33 GMT-0500 (EST)
How to get memory used by each objects of your application?
1) Step 1 - Start the application in emulator
2) Open the DDMS perspective
3) Select the application package from the list of process
4) Click on Update Heap button
5) Convert the hprof file into MAT readable form
./hprof-conv filename_generated newfilename.hprof
6) Open the Memory Analyzer tool perspective in eclpse
7) Open the heap file
8) Click histogram to see the whole list of objects
9) filter based on your app package
10) export it to html
deepak - Thu Feb 16 2012 20:44:07 GMT-0500 (EST)
Download Memory Analyzer Tool
deepak - Thu Feb 16 2012 20:44:39 GMT-0500 (EST)
Add the below link to eclipse for download
http://download.eclipse.org/mat/1.1/update-site/