V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
koykoi
V2EX  ›  Node.js

同样一份 hexo, OS X 下正常, Linux 上无法 generate

  •  
  •   koykoi · 2016-03-22 16:02:37 +08:00 · 2829 次点击
    这是一个创建于 2929 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 linux 上

    $ hexo s --debug

    or

    $ hexo g --debug

    都会卡住,运行很长一段时间后,报错 process out of memory

    看日志,是在处理 theme 下的 node_modules 中的文件

    删掉 node_modules,一切正常,不过 hexo 按理说应该是默认忽略 node_modules/

    配置 skip_render glob, didn't work

    另外在 osx 上也一切正常

    hexo 3.2.0
    hexo-cli 1.0.1

    1 条回复    2016-04-03 17:42:53 +08:00
    cc7756789
        1
    cc7756789  
       2016-04-03 17:42:53 +08:00
    process out of memory 有可能死循环了,把内存全占掉。没有更多的报错信息?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2799 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:57 · PVG 22:57 · LAX 07:57 · JFK 10:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.