Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » System » Configuration » ChargeImageMemoryPools

ChargeImageMemoryPools


Module: FoundationLite

Preallocates memory buffers for images.

Applications

This may improve performance when many images are created and destroyed in an application.
Name Type Description
inRequestedPoolSizes IntegerArray Copy a value from InspectImageMemoryPools.outPoolSizes
inTouch Bool Forces getting the new memory pools to the cache memory

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Incorrect size of 'inRequestedPoolSizes' array.

Complexity Level

This filter is available on Expert Complexity Level.