*ResultCacheMemoryConfig()

Modifies memory usage by the Result Data Manager software.

Syntax

*ResultCacheMemoryConfig (parameter, value)

Application

HyperView

Inputs

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.

Context

*BeginGraphicDefaults()

*BeginReaderDefaults()

Example

*BeginGraphicDefaults()
  *BeginReaderDefaults()
     *ResultCacheMemoryConfig("CachePolicy","IMMEDIATE")
     *ResultCacheMemoryConfig("CacheLimit", 512)           // 512 Mb
     *ResultCacheMemoryConfig("CacheDir", "TMPDIR")
     *ResultCacheMemoryConfig("QueueLimit", 16)            // 16 Mb
     *ResultCacheMemoryConfig("QueueTimeout", 10)          // 10 seconds
  *EndReaderDefaults()
*EndGraphicDefaults()

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.