when we place an application in debug mode - a DDMS window pops up. There is a device tab with a "heap" button. it has all kinds of information in it. I struggle to see how this information can help me. Can you provide me just one easy practical use for this information ? I tried to look through documentation but could not find anything.
Heap is a place in memory where all created objects are stored. Object is placed in heap when you use new
statement. You can review actual state of heap using MAT(Memory Analysis for Android Applications ). To do this you must:
hprof-conv dump.hprof converted-dump.hprof
More detailed description is here : Memory analysis for Android Application
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.