Skip to content

ResourceLimits

[<Interface>]
type ResourceLimits =
    abstract member codeRangeSizeMb: float option with get, set
    abstract member maxOldGenerationSizeMb: float option with get, set
    abstract member maxYoungGenerationSizeMb: float option with get, set
    abstract member stackSizeMb: float option with get, set
    static member Create (?maxYoungGenerationSizeMb: float, ?maxOldGenerationSizeMb: float, ?codeRangeSizeMb: float, ?stackSizeMb: float) : ResourceLimits
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member codeRangeSizeMb: float option with get, set

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

abstract member maxOldGenerationSizeMb: float option with get, set

The maximum size of the main heap in MB.

abstract member maxYoungGenerationSizeMb: float option with get, set

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

abstract member stackSizeMb: float option with get, set

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

Methods

static member Create (?maxYoungGenerationSizeMb: float, ?maxOldGenerationSizeMb: float, ?codeRangeSizeMb: float, ?stackSizeMb: float) : ResourceLimits