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: 9.9.13.0 (9.9.13.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 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 fileName field to be taken into account. See SbImageDataAdapterHelper.getAppropriateAdapter() for more details.

See Also