Memory Analyzer Tool in android?

android, memory-leaks

Solution

- Open DDMS perspective in Eclipse.

- Select Devices tab.

- Choose a process you want to make a dump for.

- Click Dump HPROF file button. The dump will be made and MAT window will be opened, assuming MAT is installed.

- Choose Leak Suspects Report in the wizard window and click Finish.

That's all. You'll se a list of possible leaks, but some of them are false-positive. I recommend you to run an activity you want to check leaks in several times and then run MAT again.

Problem

I just want to know how to work with Memory analyzer tool in android. Please tell me how to do this to know about memory leaks for a particular project. Can someone give me step wise procedure for this.

Original source

Related problems