Closed marche0133 closed 3 years ago
Did you try using NODE_OPTIONS
environment variable with a value of --max-old-space-size=4096
Did you try using
NODE_OPTIONS
environment variable with a value of--max-old-space-size=4096
Yes, I tried to set it in ide.
Feel like the IDE might just set the env variable for the npm script that trigger the autorest build and not the autorest process. Can you double check with setting as an environment variable. If it was set correctly autorest will log the node memory allowed
AutoRest code generation utility [cli version: 3.2.3; node: v14.16.0, max-memory: 16384 MB]
Hi, I upgrade Node to latest version v16 and delete npm and npm-cache folder in roaming, the autorest works now.
Describe the bug
After a recent install of npm and node, the autorest javascript and autorest java does not work. I tried to increase the memory by --max-memory-size=3888 but does not work.
npm 6.14.13 node v14.17.0 autorest 3.2.3
autorest packages