Find 25.1
Find Administration Guide

# Configure the Java Heap Size

You can configure the Java heap size for Find by setting the size in the Java run command.

To configure the Java heap size

- At the command line, send the java run command with the `Xmx"[HeapSize]"m` argument set. For example:

      java -Xmx2048m -Didol.find.home=[home directory] -Dserver.port=[port] -jar find.war

If you run Find as a service on Windows, you can also add the `Xmx` property to the `find.xml` file.

If you run Find as a service on Linux, you can set or modify the java heap size in the start scripts (`find.sh` for SystemV, `find.conf` for Upstart, or `find.service` for systemd).

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

On Upstart, you must also run `initctl reload-configuration` before you restart, to apply the init file changes. You can then run `service find restart` to restart the service.

Copyright 2015-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Find 25.1

Topic Title: Configure the Java Heap Size