Configure Cache Size

If you see a Catalina cache warning in your log files when you run Find, you can use the server.tomcat.resources.max-cache-kb system property to increase the size of the cache.

The cache warning might appear similar to the following example:

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/Find/example.jpg] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

The maximum size of the cache is set in kilobytes. The default value is 20480 (20 MB).

To set the cache max size property

If you run Find as a service on Windows, you can also add this argument to the find.xml file.

If you run Find as a service on Linux, you can add the argument to the existing arguments variable in for SysV, or find.conf for Upstart.

When you modify the Find configuration by modifying the XML file or start scripts, you must restart Find to apply your configuration changes.

For more information on installing and running Find as a service on Windows or Linux, see Install Find.