SoFileDataAdaptermaxMemory Property |
Specifies the maximum memory that may be allocated for the image in MB (megabytes).
Namespace: OIV.ImageViz.Nodes.Images
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.