Modifies memory usage by the Result Data Manager software.
*ResultCacheMemoryConfig()Modifies memory usage by the Result Data Manager software. |
|||||
*ResultCacheMemoryConfig()Modifies memory usage by the Result Data Manager software. |
Syntax |
*ResultCacheMemoryConfig(parameter, value) |
|||
Arguments |
parameter |
CachePolicy |
How to handle result data blocks . |
|
CacheLimit |
Maximum size of all cached data for the session. |
|||
CacheDir |
Directory to use for writing cached data to disc. |
|||
QueueLimit |
Maximum size of result data buffered in memory before writing to disc cache. |
|||
QueueTimeout |
Maximum time in the queue (before caching). |
|||
value |
CachePolicy
|
DISABLED - cache not used IMMEDIATE - result data cached immediately after reading LAZY - result data cached when used |
||
CacheLimit |
Specified in Mb. |
|||
CacheDir |
Pathname to the directory to store cached data. |
|||
QueueLimit |
Specified in Mb (used only when CachePolicy is LAZY). |
|||
QueueTimeout |
Length of time, in seconds, that data can remain in memory. |
|||
Example |
*BeginGraphicDefaults() *BeginReaderDefaults() *ResultCacheMemoryConfig("CachePolicy","IMMEDIATE") *ResultCacheMemoryConfig("CacheDir", "TMPDIR") *ResultCacheMemoryConfig("QueueLimit", 16) // 16 Mb *ResultCacheMemoryConfig("QueueTimeout", 10) // 10 seconds *EndReaderDefaults() *EndGraphicDefaults() |
|||
Application |
HyperView. |
|||
Context |
||||
Comments |
These parameters have default values. The parameters only need to be specified if you want to override the default settings. You may want to do this if you are working with large models and the result animation speeds are slower than desired. |
|||
See also |
|
|||