id | title | hide_title |
---|---|---|
faastjs.commonoptions.childprocessmemorymb |
CommonOptions.childProcessMemoryMb property |
true |
faastjs > CommonOptions > childProcessMemoryMb
When childProcess is true, the child process will be spawned with the value of this property as the setting for --max-old-space-size.
Signature:
childProcessMemoryMb?: number;
This is useful if a function requires the node process to limit its memory so that another spawned process (e.g. a browser instance) can use the rest.