The Speech Server cache

The Speech Server cache is controlled by parameters that can be set as service properties in the Management Station.

The applicable service properties that can be set in the Management Station are:

Service property

Description

Default

server.cache.cacheDir

Directory in which items are stored.

$NSSSVRSDK/system/cache

server.cache.cacheEntryExpTimeSec

Amount of time in seconds before a cache entry is considered stale. Any entry that has been in the cache longer than this value is removed on the next cache flush operation. Must be a non-zero value.

126000

server.cache.cacheEntryMaxSizeMB

Maximum size allowed for cache files. Items larger than this value are not cached. During a cache flush operation, items are removed until there is sufficient room to write an entry of this size.

Must be smaller than server.cache.cacheTotalSizeMB.

4

server.cache.cacheTotalSizeMB

Maximum size in megabytes reserved for the cache on disk. When this size is exceeded, the server begins removing the least recently used items until there is enough space to write at least one entry of the maximum server.cache.cacheEntryMaxSizeMB size.

300

server.cache.unlockEntries

If this parameter is true (1), all entries in the disk cache are unlocked when the process starts. Keep the default to prevent stale processes from filling the cache.

1