API Reference/WorkerThreadsResourceLimits
interface

WorkerThreadsResourceLimits

typescript

Resource limits for worker threads

Properties

codeRangeSizeMb(optional)

number

Size of the pre-allocated code range in MB

maxOldGenerationSizeMb(optional)

number

Maximum size of the old generation heap in MB

maxYoungGenerationSizeMb(optional)

number

Maximum size of the young generation heap in MB

stackSizeMb(optional)

number

Default stack size for the worker thread in KB