1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-25 01:12:30 +00:00

Merge branch 'add-ram-warning-doc' into 'master'

Add warning for yarn run build memory consumption

Closes #364

See merge request framasoft/mobilizon!505
This commit is contained in:
Thomas Citharel 2020-07-05 08:51:48 +02:00
commit 81d868175e

View file

@ -74,7 +74,13 @@ and install the Javascript dependencies
yarn install
```
Finally, we can build the front-end (this can take a few seconds)
Finally, we can build the front-end (this can take a few seconds).
!!! warning
Building front-end can consume up to 512MB of RAM by default. If it's too much or not sufficient for your setup, you can adjust the maximum memory used by prefixing the command with the following option:
```
NODE_OPTIONS=--max_old_space_size=4096
```
```bash
yarn run build
```