Click or drag to resize

IMcResourceManagerFreeUpMemory Method

Controls freeing up an amount of memory for a given use (memory type).

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Sub FreeUpMemory ( 
	Type As mcMemoryType,
	PcntOrMBytes As Double,
	<OptionalAttribute> CallingOperator As Object
)

Parameters

Type
Type: MediaCy.IQL.EnginemcMemoryType
PcntOrMBytes
Type: SystemDouble
CallingOperator (Optional)
Type: SystemObject
Remarks
mcmtImageMemory type: The amount of memory currently available for image use as a percentage of usable physical memory. The same value can be expressed as MBytes if the type is specified as mcmtImageMemoryMBytes. If necessary to have the requested amount of memory free, sections of unlocked image memory are swapped out to disk to free up the requested amount of image memory. mcmtVirtualMemory: The largest contiguous block of free logical memory as a percentage of total virtual memory. The same value can be expressed as MBytes if the type is specified as mcmtVirtualMemoryMBytes. If necessary, sections of unlocked image memory are swapped out to disk to attempt to free up the requested logical block. This is equivalent to McImages:: MemoryFreeLogical. mcmtPhysicalMemory: The amount of available physical memory as a percentage of usable physical memory. The same value can be expressed as MBytes if the type is specified as mcmtPhysicalMemoryMBytes. If necessary sections of unlocked image memory are swapped out to disk to free up the requested committed memory. This is equivalent to McImages:: MemoryFreePhysical. "Available physical memory" is physical memory that can be immediately committed by the operating system without needing to swap out any memory to the page file. "Usable physical memory" is total physical memory minus a fixed amount reserved for use by other processes. It is the maximum amount of physical memory that is allowed for alogrithm use. Values less than 0, or percentage values greater than 100% are not allowed on assignment. If the requested amount of memory was already available or could be made available by freeing up image memory, the MemoryMissing property is set to zero. If the request could not be satisfied, then the MemoryMissing property is set to -1. If the CallingOperator parameter is supplied as other than Nothing, then it must be an operator instance, from which a ProgressMeter will be taken if the associated IMcEngine instance exposes one.
See Also