Ten Steps to find out Android Memory Leak

1. Open the ddms
2. Select the required process name in the left panel
3. Clickon Show heap Updates button
4. In the right panel select VM heap
5. Click on dump HPROF file
6. Save in desktop
7. Open the command prompt
6. Set the path to sdk tools folder
7. write the command
[Syntax - hprof-conv <infile> <outfile>] hprof-conv.exe "saved file path" "C:\file.hprof"
8. Download Eclipse MAT plugin
9. Open the saved HPROF file using MAT
10. There are various views available , using that

you can detect the class which is using more memory


Comments

Popular posts from this blog

Online Selenium Training With Real Time Scenario

Online Tricentis Tosca Automation Training with Real Time Scenarios

Online Training for Manual/Functional