4

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.

enter image description here

trincot
  • 317,000
  • 35
  • 244
  • 286
Andrew
  • 2,438
  • 1
  • 22
  • 35
  • I [filed an issue](https://issuetracker.google.com/issues/70147140) in the Android Studio bug tracker. – JJD Dec 04 '17 at 11:26

1 Answers1

1

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.

Martin Yu
  • 271
  • 2
  • 3
  • 11