Use the poolSize setting in the translator.properties file to set the number of templates in the Shared File Cache.
When Translator starts, it reads the poolSize setting in the translator.properties file. When you call the addFormTemplate method, Translator creates the number of templates that are specified by the value of the poolSize setting. For example, if the poolSize is 2, Translator will create two instances of each template that you add.
You must take care when calculating the value of poolSize. The maximum number of active forms in the Shared File Cache is reduced by the number of instances of templates that you place into the cache. If the value of poolSize is too high, then the Shared File Cache will not have enough room for active forms. You can find more information on how the fcCacheSize and the poolSize affect each other in the topic Form templates overview
To set the number of templates:
Parent topic: Configuring Webform Server
Form templates overview
- Stop the Translator system.
- Open the translator.properties file in a text editor.
The default location of the translator.properties file is <install location>\WebformServer\Translator
- Locate the poolSize setting in the file, and modify the entry.
- Start the Translator system.