V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
getty123
V2EX  ›  Next.js

本地开发 Next.js 启动项目后卡顿的不行,有什么优化的空间吗(M1 8G)

  •  
  •   getty123 · Mar 31, 2025 · 3414 views
    This topic created in 397 days ago, the information mentioned may be changed or developed.

    MacBoook Air M1 8G 启动时内存占用 80%多,然后在开启个 Chrome 每次刷新页面卡很久 启动启用 Turbopack 更卡了 这个项目使用的 monorepo,引用过其他文件夹中的很多组件 各位大佬有什么优化的空间吗,怎么不卡呀

    4 replies    2025-04-02 17:07:19 +08:00
    peteretep
        1
    peteretep  
       Mar 31, 2025
    mac 内存
    前端开发 16G 起步
    后端开发 32G 起步

    能换就换吧
    getty123
        2
    getty123  
    OP
       Mar 31, 2025
    @peteretep 好吧,那只能换一个了内存高一点的了
    zhaoyy0513
        3
    zhaoyy0513  
       Apr 1, 2025
    @getty123 某宝倒是有加内存的,但是可能售后失效
    Tsang72
        4
    Tsang72  
       Apr 2, 2025
    @zhaoyy0513 #3 MacBook 的 memory 不可能加,disk 可以加
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2639 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 03:40 · PVG 11:40 · LAX 20:40 · JFK 23:40
    ♥ Do have faith in what you're doing.