当前位置: 代码迷 >> Android >> 怎么使用MAT分析Android程序的内存有关问题
  详细解决方案

怎么使用MAT分析Android程序的内存有关问题

热度:56   发布时间:2016-04-28 01:05:20.0
如何使用MAT分析Android程序的内存问题

  1. Please refer to https://developer.android.com/tools/debugging/debugging-memory.html,http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html.

  2. In DDMS, got an Android  HPROF file.

  3. Run SDK tool hprof-conv.exe to convert the AndroidHPROF file to the J2SE HPROF file.

    hprof-convheap-original.hprof heap-converted.hprof

  4. Download MAT from http://www.eclipse.org/mat/downloads.php.

  5. Run MAT to view the J2SE HPROF file.

  相关解决方案