Click or drag to resize

V8RuntimeConstraintsMaxYoungSpaceSize Property

Note: This API is now obsolete.

Gets or sets the maximum size of the young object heap in MiB.

Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax
[ObsoleteAttribute("Use MaxNewSpaceSize instead.")]
public int MaxYoungSpaceSize { get; set; }

Property Value

Int32
Remarks
For maximum compatibility with hosts that predate an inadvertent breaking change in ClearScript 5.4.1, values greater than 1048576 (1 TiB) are assumed to be in bytes rather than MiB. For example, the values 16 and 16777216 both specify a limit of 16 MiB.
See Also