To dump the heap, click on the icon Dump HPROF file. There are many tools
for analyzing heap dumps but the one I'm most familiar is the Eclipse Memory
Analyzer (MAT). Download it from http://www.eclipse.org/mat/.
MAT can't handle the DDMS heap dumps right away, but there is a converter tool
in the Android SDK.
So simply run this command
C:\Android\android-sdk\tools>hprof-conv rawdump.hprof converteddump.hprof
沒有留言:
張貼留言