swirec_memory_cache_low_water_mark

Maximum size of the memory cache after removing grammars to create available space.

Value

Integer: 0–swirec_memory_cache_size.

Represents the approximate space remaining after flushing the cache.

Default

85 (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

Set by system administrators for all applications using the recognition server.

Setting to a lower value reduces the number of times the cache is flushed and reduces overhead incurred with each flush, but also causes more entries to be flushed.

A good value is 85% of swirec_memory_cache_size.

Performance

Lower values reduce the overhead of each flush, but also causes more entries to be flushed.

When the memory cache is full, cached grammars are removed until total memory usage of the remaining entries is less than this value.

If troubleshooting a system that comes up too slowly, try increasing the value of this parameter. Setting this parameter to a higher value keeps more grammars instantly accessible, and improves loading times. For example, you could set it to a size which is large enough to hold most of the static grammars in the application.