-
Please refer to https://developer.android.com/tools/debugging/debugging-memory.html,http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html.
-
In DDMS, got an Android HPROF file.
-
Run SDK tool hprof-conv.exe to convert the AndroidHPROF file to the J2SE HPROF file.
hprof-convheap-original.hprof heap-converted.hprof
-
Download MAT from http://www.eclipse.org/mat/downloads.php.
-
Run MAT to view the J2SE HPROF file.
本文指导您如何使用DDMS工具获取并转换Android HPROF文件,然后利用MAT工具进行J2SE HPROF文件分析,以实现Android应用的性能优化。
1089

被折叠的 条评论
为什么被折叠?



