• 请不要在回答技术问题时复制粘贴 AI 生成的内容
liu1996
V2EX  ›  程序员

Java 如何分析 dump 文件信息

  •  
  •   liu1996 · Jan 20, 2022 · 2269 views
    This topic created in 1575 days ago, the information mentioned may be changed or developed.

    如题,网上都是说分析 dump 信息,但是具体如何分析,如何根据 dump 文件找到频繁创建对象的方法却没有详细教程,各位大佬有人有教程吗

    2 replies    2022-01-20 13:32:07 +08:00
    X0ray
        1
    X0ray  
       Jan 20, 2022
    dump 文件可以找到内存泄露的点,也就是创建了不回收的对象。教程搜 mat 分析 heapdump ,一大堆。
    频繁创建对象的方法,你可以使用 async-profiler 来看 cpu profiling
    liu1996
        2
    liu1996  
    OP
       Jan 20, 2022
    @X0ray 感谢回复
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4414 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 05:31 · PVG 13:31 · LAX 22:31 · JFK 01:31
    ♥ Do have faith in what you're doing.