V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
whereabouts
V2EX  ›  程序员

以前说的 Nodejs 进程因为引用 V8 引擎所以有 3G 左右最大内存限制 现在还有吗

  •  
  •   whereabouts · 2018-10-31 12:49:55 +08:00 · 1323 次点击
    这是一个创建于 2022 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1 条回复    2018-10-31 13:23:41 +08:00
    noe132
        1
    noe132  
       2018-10-31 13:23:41 +08:00
    加启动项 --max-old-space-size=8192 就可以让老生代分配 8G 内存。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1716 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 16:55 · PVG 00:55 · LAX 09:55 · JFK 12:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.