Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 768 Bytes

faastjs.commonoptions.childprocessmemorymb.md

File metadata and controls

22 lines (15 loc) · 768 Bytes
id title hide_title
faastjs.commonoptions.childprocessmemorymb
CommonOptions.childProcessMemoryMb property
true

faastjs > CommonOptions > childProcessMemoryMb

CommonOptions.childProcessMemoryMb property

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;

Remarks

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.