LEADTOOLS (Leadtools assembly)

MaximumGlobalRasterImageMemory Property

Show in webframe







Gets or sets a value that specifies the maximum size allowed for all RasterImage object allocations.
Syntax
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');
public:
property int64 MaximumGlobalRasterImageMemory {
   int64 get();
   void set (    int64 value);
}

Property Value

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.

Remarks

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.

Example
For an example, refer to RasterDefaults.
Requirements

Target Platforms

See Also

Reference

RasterMemoryThreshold Structure
RasterMemoryThreshold Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.