swirec_disk_cache_low_water_mark

Largest size of the disk and inet caches after cache cleanup.

Value

Integer: 1–INT_MAX.

Reasonable range: 1–swirec_disk_cache_size

Default

400 (MB)

How to set

In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml).

Usage

This parameter is only relevant when swirec_disk_cache_enabled is enabled.

Occasionally used during application tuning. When grammars load too slowly, increasing this value can help. (You might also need to compensate by increasing swirec_disk_cache_size and the swirec_memory_cache_size).

This is a system-wide parameter. The setting applies to all applications using Recognizer.

Specify a size that is significantly less than the total cache size (for example, about 25% of the total). The value affects how much space the Recognizer frees when it needs new space in the disk cache: it frees entries until the cache size is at or below the low water mark. (The Recognizer releases entries that are least-recently used.)

Also, see the full list of caching parameters in Fetching and caching parameters.