Could the hprof you grabbed already have been converted? If the hprof file begins "JAVA PROFILE 1.0.3" then it uses the Android extended format, and then you may need to use hprof-conv to convert it to a more standard format before you can analyze it.
If it begins "JAVA PROFILE 1.0.2" or something else then it is already in the more standard format. However, I think DDMS and eMAT already work together now, so you may not need to do any conversion. The hprof binary format is defined here: http://hg.openjdk.java.net/jdk7/jdk7/jdk/raw-file/tip/src/share/demo/jvmti/hprof/manual.html Android extensions defined here: http://android.git.kernel.org/?p=platform/dalvik.git;a=blob;f=tools/hprof-conv/HprofConv.c Joe On Jun 22, 5:31 am, Bacon021 <[email protected]> wrote: > I am using the eclipse MAT. and I have dump file from eclispe then i > enter the android SDK to run the hprof-conv to convert the hprof file > to our Android supported format, but the cmd notify me as "error > expectiong 1.0.3". does anyone can help me close this problem? Thanks > a lot -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

