faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

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.

  • CommonOptions.childProcessMemoryMb property
  • Remarks
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflow
More
BlogUser Showcase
Copyright © 2025 Andy Chou