Andrew
Andrew

Reputation: 2896

ERROR: expecting HPROF file format 1.0.3

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:

enter image description here

Upvotes: 5

Views: 795

Answers (1)

Martin Yu
Martin Yu

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

Related Questions