Open topic with navigation

# 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

- 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 -Didol.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 `find.xml` file.

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.

© 2015-2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm