Reputation: 709
Actually i have developed one android application, but when performing some operations out of memory is getting and application is getting crashed. How to identify memory leaks???
Upvotes: 1
Views: 415
Reputation: 157447
Eclipse has a integrate profiler tool, called MAT
- Memory Analayzer Tool. You can use it to analize the heap of your application. It's quit simple to install. From Eclipse click on
Help -> Install new software
then from the DDMS
perspective, in the Decices section, you can select the process of your app, and clicking on "Dump HPROF File"
the tool will open with the dump of the current heap
.
here is an example of usage ot the MAT tool, from the android developer blog.
Upvotes: 4