From 791387633057de4a142212e43afa425d9670e69c Mon Sep 17 00:00:00 2001 From: Xavier FACQ Date: Mon, 29 Jan 2024 01:37:53 +0100 Subject: [PATCH] [fix] Increase memory if crash locally (#2632) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6db411411..73c9dddda 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ This assumes you already have Node.js and npm installed. Node.js version 18 or a npm start ``` +1. If you need more memory (FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory) + + ```bash + export NODE_OPTIONS=--max-old-space-size=4096 + ``` + 1. **Open the source code and start editing!** Your site is now running at `http://localhost:8000`!