Identify Memory Leak in Android

Android Memory Leak Test

 1. Open the ddms (Dalvik Debug Monitor Service) 2. Select the required process name in the left panel 3. Click on 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

Post a Comment

8 Comments

  1. Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. blackmart apk for pc

    ReplyDelete
  2. Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. smart glass

    ReplyDelete
  3. Truth be told, numerous individuals are amazed to discover that the normal life expectancy of a cell phone is presently just around 19 months. Handy reparatur Kiel

    ReplyDelete
  4. A few refreshed telephone accompanying Android stage. More than 500K android applications for more than 500 android gadgets have overwhelmed by android advertise.Brighter Guide homepage

    ReplyDelete
  5. Accounting Software for the self employed businessman in the UK does not have to be complex. There are different requirements to double entry bookkeeping that anyone self employed may fulfil and Accounting Software available to satisfy those requirements. The most important requirement of any Accounting Software purchased by a self employed businessman being the automated production of the Self Assessment tax return. site

    ReplyDelete
  6. Salesforce CRM is getting popular these days among every enterprise, due to its capabilities. The cloud based CRM is being an extensively useful developing technology, changing the business outlook, where all of the business operations are executed centrally to deliver the world class services to the customer. I Salesforce training in Hyderabad

    ReplyDelete
  7. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. ทำ seo 2021

    ReplyDelete
Emoji
(y)
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
x-)
(k)