Window.MinMemory
Description
- Sets the memory working set for the specified window(s).
- Windows NT only.
Syntax
- Window.MinMemory(cl, min, max)
Parameters
- cl
- (mixed) caption list identifying target window(s)
- min
- (float) minimum working set size in bytes
- Optional, see Notes below for more.
- max
- (float) maximum working set size in bytes
- Optional, see Notes below for more.
Examples
- Window.MinMemory("active")
Notes
- If the parameters min & max are omitted, or if both are specified as -1, the function temporarily trims the working set of the specified process to zero, essentially swapping the process out of physical RAM memory.
- The virtual memory manager attempts to keep at least the minimum working set size resident in the process whenever the process is active and to keep no more than the maximum memory resident in the process whenever the process is active and memory is in short supply.