on 02-19-2021 3:04 PM
Hi,
Which is the correct way to use the node.js max_old_space_size option with CAP?
Is this supported in package.json?
"scripts": {
"start": "node --max_old_space_size=192 ./node_modules/.bin/cds run",
},
Thank you,
Sam
Most flexible option is to use the NODE_OPTIONS environment variable, i.e.
NODE_OPTIONS=--max_old_space_size=... cds run
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.