Software AG Products 10.7 | Administering Integration Server | Configuring Ehcache on Integration Server | Configuring a Distributed Cache | About the Maximum Entries in Cache Value
 
About the Maximum Entries in Cache Value
Beginning with Integration Server version 10.0 and in fixes to earlier versions of Integration Server, the Maximum Entries in Cache value must be set and must be set to a value greater than 0. Previously, Integration Server allowed a value of 0 which indicated that the number of entries was restricted only by the availability of resources. However, unlimited caches grow indefinitely and can cause performance problems or system failures if they exhaust the available resources on the machine.
To prevent performance problems and an OutOfMemoryException, Integration Server requires that system and public distributed caches have Maximum Entries in Cache set to a value greater than 0:
*When creating or editing a public distributed cache created in a version of Integration Server prior to 10.0, Integration Server Administrator validates the Maximum Entries in Cache value and prompts for a correction if the Maximum Entries in Cache value is left blank or is set to 0 (zero). For an existing public distributed cache created prior to version 10.0, Integration Server allows Maximum Entries in Cacheto be 0 until the cache is edited in some way.
*When editing a system distributed cache, Integration Server Administrator validates the Maximum Entries in Cache value and prompts for a correction if the Maximum Entries in Cache value is left blank or is set to 0 (zero). For a system distributed cache, Integration Server allows Maximum Entries in Cache to be 0 until the cache is edited in some way.
*For an existing system distributed cache used in an Integration Server cluster, Integration Server sets the value of Maximum Entries in Cache to the value specified in new server configuration property watt.server.cache.maxEntriesInCache. At startup of Integration Server if clustering is enabled, Integration Serverwill set the value for distributed system caches to the value set by watt.server.cache.maxEntriesInCache. If the server configuration property is set to -1 or 0, Integration Server does not set a default value for Maximum Entries in Cache.