HyperWorks Desktop

*ResultCacheMemoryConfig()

Modifies memory usage by the Result Data Manager software.

*ResultCacheMemoryConfig()

Modifies memory usage by the Result Data Manager software.

Previous topic Next topic No expanding text in this topic  

*ResultCacheMemoryConfig()

Modifies memory usage by the Result Data Manager software.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

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("CacheLimit", 512)           // 512 Mb

    *ResultCacheMemoryConfig("CacheDir", "TMPDIR")

    *ResultCacheMemoryConfig("QueueLimit", 16)            // 16 Mb

    *ResultCacheMemoryConfig("QueueTimeout", 10)          // 10 seconds

 *EndReaderDefaults()

*EndGraphicDefaults()

Application

HyperView.


Context

*BeginGraphicDefaults()

*BeginReaderDefaults()


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

 


*BeginReaderDefaults()

*EndReaderDefaults()

List of Preference Statements