Main Content

MathWorks.MATLAB.NET.Utility.NativeGCAttribute Class

Namespace: MathWorks.MATLAB.NET.Utility

Define custom assembly attribute that keeps track of native heap allocations for instances of MWArray classes

Description

The NativeGCAttribute class defines a custom assembly attribute that keeps track of the native heap allocations for instances of the MWArray classes. When the specified or default memory allocation has been reached, the appropriate add/remove memory pressure method is called.

Namespace: MathWorks.MATLAB.NET.Utility

Assembly: MWArray (in MWArray.dll) Version: 2.23.1.0 (2.23.1.0)

Syntax:

public class NativeGCAttribute : Attribute

Properties

expand all

Public Properties

This property is read-only.

The number of megabytes of native heap allocated to mxArrays that will result in a call to the add/remove memory pressure methods.

This property is read-only.

Returns true if the custom mxArray native heap garbage collector is enabled.

This property is read-only.

(Inherited from Attribute)

Methods

expand all

Inheritance Hierarchy

System.Object

  • Mathworks.MATLAB.NET.Utility

    • Mathworks.MATLAB.NET.Utility.Images

    • Mathworks.MATLAB.NET.Utility.LOGFILEAttribute

    • Mathworks.MATLAB.NET.Utility.MATLABSignature

    • Mathworks.MATLAB.NET.Utility.MCRVersion

    • Mathworks.MATLAB.NET.Utility.MWCTFStreamReader

    • Mathworks.MATLAB.NET.Utility.MWException

    • Mathworks.MATLAB.NET.Utility.MWMCR

    • Mathworks.MATLAB.NET.Utility.NativeGCAttribute

    • Mathworks.MATLAB.NET.Utility.NOJVMAttribute

Version History

Introduced in R2006a