https://developer.android.com/studio/profile/am-hprof.html#why
HPRROF Viewer
Heap/CPU Profile
The HPROF Viewer displays classes, instances of each class, and a reference tree to help you track memory usage and find memory leaks
能够分析:
All destroyed activity instances that are reachable from garbage collection roots.
Where the target program has strings that repeat values.
原来需要,转换hprof-conv
The hprof-conv tool converts the HPROF file that is generated by the Android SDK tools to a standard format so you can view the file in a profiling tool of your choice.
Device Monitor:The Heap view shows some basic stats about your heap memory usage, updated after every GC. To see the first update, click the Cause GC button.
Tracking Allocations