Skip to content

Commit

Permalink
[fix] Increase memory if crash locally (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq authored Jan 29, 2024
1 parent feca024 commit 7913876
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`!
Expand Down

0 comments on commit 7913876

Please sign in to comment.