Skip to main content

ResourceLimits

interface ResourceLimits

Properties Jump to heading

optional
Jump to headingmaxYoungGenerationSizeMb: number | undefined

The maximum size of a heap space for recently created objects.

optional
Jump to headingmaxOldGenerationSizeMb: number | undefined

The maximum size of the main heap in MB.

optional
Jump to headingcodeRangeSizeMb: number | undefined

The size of a pre-allocated memory range used for generated code.

optional
Jump to headingstackSizeMb: number | undefined

The default maximum stack size for the thread. Small values may lead to unusable Worker instances.

Back to top