V8RuntimeMaxStackUsage Property |
Gets or sets the maximum amount by which the stack is permitted to grow during script execution.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax public UIntPtr MaxStackUsage { get; set; }
Public Property MaxStackUsage As UIntPtr
Get
Set
public:
property UIntPtr MaxStackUsage {
UIntPtr get ();
void set (UIntPtr value);
}
member MaxStackUsage : UIntPtr with get, set
Property Value
UIntPtrRemarks
This property is specified in bytes. When it is set to the default value, no stack
usage limit is enforced, and scripts with unchecked recursion or other excessive stack
usage can cause unrecoverable errors and process termination.
Note that the V8 runtime does not monitor stack usage while a host call is in progress.
Monitoring is resumed when control returns to the runtime.
See Also