Bump maximum allowed memory of node

This commit is contained in:
pietervdvn 2021-10-01 02:55:44 +02:00
parent 725a3c37c7
commit 32689f5179

View file

@ -7,7 +7,7 @@
"homepage": "https://mapcomplete.osm.be",
"main": "index.js",
"scripts": {
"increase-memory": "export NODE_OPTIONS=--max_old_space_size=4096",
"increase-memory": "export NODE_OPTIONS=--max_old_space_size=6182",
"start": "npm run start:prepare && npm-run-all --parallel start:parallel:*",
"start:prepare": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory",
"start:parallel:parcel": "parcel *.html UI/** Logic/** assets/*.json assets/svg/* assets/generated/* assets/layers/*/*.svg assets/tagRenderings/*.json assets/themes/*/*.svg assets/themes/*/*.png vendor/* vendor/*/*",