ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8RuntimeConstraints Class
V8RuntimeConstraints Properties
HeapExpansionMultiplier Property
MaxArrayBufferAllocation Property
MaxExecutableSize Property
MaxNewSpaceSize Property
MaxOldSpaceSize Property
MaxYoungSpaceSize Property

# V8RuntimeConstraintsMaxArrayBufferAllocation Property

Gets or sets the maximum amount of ArrayBuffer memory the runtime may allocate.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public ulong MaxArrayBufferAllocation { get; set; }

    Public Property MaxArrayBufferAllocation As ULong
    	Get
    	Set

    public:
    property unsigned long long MaxArrayBufferAllocation {
    	unsigned long long get ();
    	void set (unsigned long long value);
    }

    member MaxArrayBufferAllocation : uint64 with get, set

#### Property Value

UInt64
Remarks
This property is specified in bytes. ArrayBuffer memory is allocated outside the runtime's heap and released when its garbage collector reclaims the corresponding JavaScript ArrayBuffer object. Leave this property at its default value to enforce no limit.
See Also

#### Reference

V8RuntimeConstraints Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft