Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Description
- v6.12.0
- Darwin nolmac.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
As of node 6.12.0, the V8 option --max-old-space-size is no longer accepted in the NODE_OPTIONS environment variable and node exits with an error if specified.
With 6.11.5, the following works:
$ nvm use 6.11 Now using node v6.11.5 (npm v3.10.10) $ NODE_OPTIONS="--max-old-space-size=128" node -v v6.11.5 With 6.12.0, it fails:
$ nvm use 6.12 Now using node v6.12.0 (npm v3.10.10) $ NODE_OPTIONS="--max-old-space-size=128" node -v node: --max-old-space-size=128 is not allowed in NODE_OPTIONS I can't find the release notes for 6.12 in case this was an intentional change, but the docs still list it as a valid option to specify via NODE_OPTIONS: https://nodejs.org/api/cli.html#cli_node_options_options
TotallyInformation, raon0211 and MarArMar
Metadata
Metadata
Assignees
Labels
No labels