public icon indicating copy to clipboard operation
public copied to clipboard

Feature Request: provide the ability to configure node.js max memory usage

Open smcenlly opened this issue 4 years ago • 0 comments

The node.js memory allocation for Wallaby's core runner process must be configured as a global environment variable, for example:

For VS Code:

  • Open VS Code settings JSON file via the Open Settings (JSON) command from command palette, add the following setting there and save it:
...
"wallaby.env": {"NODE_OPTIONS": "--max_old_space_size=8192"},
...

For other editors:

  • To set it on macOS you may use the following command launchctl setenv NODE_OPTIONS --max_old_space_size=8192.
  • To set it on Windows you may use the setx command: setx NODE_OPTIONS "--max_old_space_size=8192" --

This feature request is to enhance Wallaby to allow the max_old_space_size setting to be provided as an editor global/workspace setting.

smcenlly avatar Feb 04 '21 00:02 smcenlly