You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try shell.env.NODE_OPTIONS = '--max-old-space-size=4096' instead. However, I'm not sure node supports setting this variable after startup (but that's out of the scope of ShellJS).
Node version (or tell us if you're using electron or some other framework):
v10.15.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.3
Operating system:
macOS Mojave 10.14.6
Description of the bug:
shell.exec('export NODE_OPTIONS=--max-old-space-size=4096')
should set the max memory for Node to 4096, but it doesn't workExample ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: