Solve Error: call_and_retry_last allocation failed - javascript heap out of memory

When you run hexo g, you might get the following error:

call_and_retry_last allocation failed - javascript heap out of memory

Solution:

Try to run export NODE_OPTIONS=--max-old-space-size=8192

posted @ 2021-04-26 02:50  Grandyang  阅读(220)  评论(0编辑  收藏  举报
Fork me on GitHub