Open topic with navigation
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
Start Find with the Java run command, and include the
server.tomcat.resources.max-cache-kb argument. For example:
java -Dserver.tomcat.resources.max-cache-kb=30480 -Dhp.find.home=[home directory] -Dserver.port=[port] -jar find.war -uriEncoding utf-8
If you run Find as a service on Windows, you can also add this argument to the
If you run Find as a service on Linux, you can add the argument to the existing arguments variable in
find.sh 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.