Last active
June 6, 2019 05:17
-
-
Save arturkula/1fe89396381a1a41ffb5e096027713c5 to your computer and use it in GitHub Desktop.
set NODE_OPTIONS env variable - increases memory for node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Environment]::SetEnvironmentVariable("NODE_OPTIONS", "--max-old-space-size=8192", "User") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't set this as a global user env variable, it will fail Visual Studio 2019 installer to run. Also Postman don't like this variable to be set - it won't run....
Source: https://developercommunity.visualstudio.com/solutions/227820/view.html
Set this env var like this for TeamCity: https://stackoverflow.com/questions/36198286/how-to-update-or-add-an-environment-variable-to-a-teamcity-agent/36198287