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

13 Comments

  1. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
    pmp course

    ReplyDelete
  2. Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! cyberflix tv

    ReplyDelete
  3. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    http://chennaitraining.in/building-estimation-and-costing-training-in-chennai/
    http://chennaitraining.in/embedded-systems-training-in-chennai/
    http://chennaitraining.in/vlsi-training-in-chennai/
    http://chennaitraining.in/matlab-training-in-chennai/
    http://chennaitraining.in/iot-training-in-chennai/

    ReplyDelete
    Replies
    1. Great Article
      android based projects

      Java Training in Chennai

      FInal Year Project Centers in Chennai

      Java Training in Chennai

      projects for cse

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  4. It's very useful article with inforamtive and insightful content and i had good experience with this information. We, at the CRS info solutions ,help candidates in acquiring certificates, master interview questions, and prepare brilliant resumes.Go through some helpful and rich content Salesforce Admin syllabus from learn in real time team. This Salesforce Development syllabus is 100% practical and highly worth reading. Recently i have gone through Salesforce Development syllabus and Salesforce Admin syllabus which includes Salesforce training in USA so practically designed.

    ReplyDelete
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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)