The [TermCache] section contains parameters that determine which query terms to store in memory, and how much memory to allocate for cached query terms.
[TermCache]
For example:
[TermCache] TermCachePersistentKB=100000