wyzxxz / heapdump_tool

heapdump敏感信息查询工具,例如查找 spring heapdump中的密码明文,AK,SK等
1.28k stars 139 forks source link

运行错误 #13

Open mkcmr opened 9 months ago

mkcmr commented 9 months ago

file: heapdump [-] Start jhat, waiting... find compressed file. start unzip file... java.util.zip.ZipException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165) at java.util.zip.GZIPInputStream.(GZIPInputStream.java:79) at java.util.zip.GZIPInputStream.(GZIPInputStream.java:91) at heapdump.Main.unZipFiles(Main.java:1903) at heapdump.Main.checkServer(Main.java:1406) at heapdump.Main.main(Main.java:102) 请手工解压 heapdump 文件后尝试 jhat fail. error message: Reading from heapdump... java.io.IOException: Unrecognized magic number: 1013084704 at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:94) at com.sun.tools.hat.Main.main(Main.java:159)

wyzxxz commented 6 months ago

heapdump文件有错误,不兼容,尝试重新下载一下,或者用Eclipse Memory Analyzer这个试试