Solve Error: call_and_retry_last allocation failed

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

原文地址:https://www.cnblogs.com/grandyang/p/14702914.html