public
public copied to clipboard
Feature Request: provide the ability to configure node.js max memory usage
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
setxcommand: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.