Click or drag to resize

V8RuntimeConstraints Class

Specifies resource constraints for a V8 runtime.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScript.V8V8RuntimeConstraints

Namespace:  Microsoft.ClearScript.V8
Assembly:  ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.5
Syntax
public sealed class V8RuntimeConstraints

The V8RuntimeConstraints type exposes the following members.

Constructors
  NameDescription
Public methodV8RuntimeConstraints
Initializes a new V8RuntimeConstraints instance.
Top
Properties
  NameDescription
Public propertyHeapExpansionMultiplier
Gets or sets the heap expansion multiplier.
Public propertyMaxArrayBufferAllocation
Gets or sets the maximum amount of ArrayBuffer memory the runtime may allocate.
Public propertyMaxExecutableSize Obsolete.
Gets or sets the maximum size of the executable code heap in MiB.
Public propertyMaxNewSpaceSize
Gets or sets the maximum size of the new object heap in MiB.
Public propertyMaxOldSpaceSize
Gets or sets the maximum size of the old object heap in MiB.
Public propertyMaxYoungSpaceSize Obsolete.
Gets or sets the maximum size of the young object heap in MiB.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also