Click or drag to resize
SoFileDataAdaptermaxMemory Property

Specifies the maximum memory that may be allocated for the image in MB (megabytes).

Namespace: OIV.ImageViz.Nodes.Images
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFUInt32 maxMemory { get; }

Property Value

Type: SoSFUInt32
Remarks

If the data can fit in the specified maximum memory, the image will be loaded in memory as an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter.

Default value is 500 MB. The default value can be overridden by the environment variable IMAGEVIZ_MAX_MEMORY_ADAPTER.

Important note: This field must be set before the OIV.ImageViz.Nodes.Images.SoFileDataAdapter.fileName field to be taken into account. See OIV.ImageViz.SbImageDataAdapterHelper.GetAppropriateAdapter(System.String, System.UInt64) for more details.

See Also