V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
0toz
V2EX  ›  问与答

怎么排查网页有哪些地方占了大量内存

  •  
  •   0toz · Feb 6, 2024 · 1803 views
    This topic created in 818 days ago, the information mentioned may be changed or developed.

    RT ,正在接手一个 n 手项目,打开发现占了差不多 1 个 g 的内存

    2 replies    2024-02-06 21:29:43 +08:00
    wu00
        1
    wu00  
       Feb 6, 2024
    别的不知道,edge 有个浏览器任务管理器。
    我 30 多个页面,基本上每个页面的内存占用最多的都是 js
    beyondstars
        2
    beyondstars  
       Feb 6, 2024   ❤️ 2
    Chrome -> 开发者工具 -> 内存 -> 生成快照,可以看到各个 objects 占用多大内存。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 04:31 · PVG 12:31 · LAX 21:31 · JFK 00:31
    ♥ Do have faith in what you're doing.