致命错误:处理内存节点js

时间:2016-06-06 08:52:32

标签: node.js express

致命错误:疏散分配失败 - 处理内存不足 致命错误:没有足够的内存用于去优化表分配失败 - 处理内存不足 我也试过--max-old-space-size = 4096 app.js. 但它也失败了

< ---最后几个GC --->

 762 ms: Mark-sweep 643.6 (1638.0) -> 388.6 (1383.0) MB, 55.0 / 0 ms [allocation failure] [GC in old space requested].
 815 ms: Mark-sweep 388.6 (1956.8) -> 388.6 (1956.8) MB, 53.2 / 0 ms [allocation failure] [GC in old space requested].
 867 ms: Mark-sweep 388.6 (2530.6) -> 388.0 (2530.6) MB, 52.1 / 0 ms [last resort gc].
 919 ms: Mark-sweep 388.0 (2530.6) -> 388.0 (2530.6) MB, 52.3 / 0 ms [last resort gc].

< --- JS stacktrace --->

0 个答案:

没有答案