←Select platform

MaximumGlobalRasterImageMemory Property

Summary
Gets or sets a value that specifies the maximum size allowed for all RasterImage object allocations.
Syntax
C#
C++/CLI
Python
public long MaximumGlobalRasterImageMemory { get; set; } 
public: 
property int64 MaximumGlobalRasterImageMemory { 
   int64 get(); 
   void set (    int64 ); 
} 
MaximumGlobalRasterImageMemory # get and set (RasterMemoryThreshold) 

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 75 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.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.