Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

node写的一个程序 貌似出了内存问题,求帮助

$
0
0

哪位大神遇到过这个错误,求帮忙解答,早上打开突然出现。 背景: 本人用node+express写的一个博客程序,昨晚调试一切正常,早上打开继续工作的时候突然报错,且无法访问主页,求大神解答

<--- Last few GCs --->

   48454 ms: Mark-sweep 1373.3 (1434.3) -> 1373.3 (1434.3) MB, 1936.7 / 0 ms [al
location failure] [GC in old space requested].
   50401 ms: Mark-sweep 1373.3 (1434.3) -> 1373.3 (1434.3) MB, 1940.9 / 0 ms [al
location failure] [GC in old space requested].
   52332 ms: Mark-sweep 1373.3 (1434.3) -> 1373.3 (1434.3) MB, 1930.3 / 0 ms [la
st resort gc].
   54448 ms: Mark-sweep 1373.3 (1434.3) -> 1373.3 (1434.3) MB, 2116.2 / 0 ms [la
st resort gc].


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000002B1897C9E51 <JS Object>
    2: /* anonymous */ [000002B189704189 <undefined>:~9] [pc=000001A16C6160A7] (
this=000002B1897E0D29 <JS Global Object>)
    3: /* anonymous */ [000002B189704189 <undefined>:34] [pc=000001A16C60BD04] (
this=000002B1897E0D29 <JS Global Object>,content=000002182864A169 <JS Array[13]>
,encodeURIComponent=000002B1897BC2F1 <JS Function encodeURIComponent (SharedFunc
tionInfo 000002B189757C29)>,nav=0...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memo
ry


Viewing all articles
Browse latest Browse all 14821

Trending Articles