Reputation: 2896
I export heap dump as HPROF and I save it with the .hprof suffix according to docs. When I run hprof-conv command, error occurs:
ERROR: expecting HPROF file format 1.0.3
As a result I get converted-heap.hprof file with 0 size. And Eclipse Memory Analyzer can not open it.
Additional info:
There is alike question here, but still converting error is not solved.
If it matters, I use new Android Studio 3 with it Android Profiler to export heap dump.
Upvotes: 5
Views: 795
Reputation: 311
1.this hprof.file must click Dump Java Heap save file.(check you save .hprof file) 2.when you click Allocation Traking,save the hprof.file.will throw this error.
Upvotes: 1