Gets or sets a value that specifies the maximum size allowed for all RasterImage object allocations.
public long MaximumGlobalRasterImageMemory { get; set; }
Public Property MaximumGlobalRasterImageMemory As Long
A long value that specifies the maximum size allowed for all RasterImage object allocations. The default value depends on the operating system.
On x86 systems, this property defaults to 1.5 GB.
On x64 systems, this property defaults to either 1.5 GB or 75 percent of the system's total physical RAM, whichever is larger.
You can use this property to control how much memory your application is allowed to use for all RasterImage objects.
When allocating a new RasterImage object, if the new allocation causes the total memory used by all allocated RasterImage objects to exceed the value of MaximumGlobalRasterImageMemory, then the allocation will throw an exception.
For an example, refer to RasterDefaults.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET