GrammarDumpDirectorySize

Maximum size of the grammar dump directory.

Value

Integer: 1–INT_MAX representing disk storage in kilobytes.

Default

100000 (100 MB)

How to set

As an environment variable.

In the SpeechWorks.cfg configuration file.

If both locations are defined, the environment variable is used rather than the value in the configuration file.

Usage

This parameter is only used when GrammarDumpDirectory is set.

If the maximum size is reached, the Recognizer removes previously written grammars (first in, first out) before writing new ones.

The following environment variable defines a directory size of 10 Megabytes:

setenv GrammarDumpDirectorySize "10000"