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

Leave a Reply

Your email address will not be published. Required fields are marked *