Leadtools Namespace > RasterMemoryThreshold Structure : MaximumGlobalRasterImageMemory Property |
public long MaximumGlobalRasterImageMemory {get; set;}
'Declaration Public Property MaximumGlobalRasterImageMemory As Long
'Usage Dim instance As RasterMemoryThreshold Dim value As Long instance.MaximumGlobalRasterImageMemory = value value = instance.MaximumGlobalRasterImageMemory
public long MaximumGlobalRasterImageMemory {get; set;}
get_MaximumGlobalRasterImageMemory();
set_MaximumGlobalRasterImageMemory(value);
Object.defineProperty('MaximumGlobalRasterImageMemory');
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 50 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.