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

相关文章: