简体   繁体   中英

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:

  • 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.

在此处输入图片说明

1.此hprof.file必须单击“转储Java堆保存文件”。(检查是否已保存.hprof文件)2.单击“分配跟踪”时,保存hprof.file。将引发此错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM