Site Admin 25.2
Site Admin Installation Guide

# Configure the Java Heap Size

You can configure the Java heap size for Site Admin 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.idolsiteadmin.home=[home directory] -Dserver.port=[port] -jar siteadmin.jar

  The default value is 1024.

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

If you run Site Admin as a service on Linux, you can modify the `JAVA_MAX_HEAP_SIZE` variable in the start scripts (`siteadmin.sh` for SystemV, `siteadmin.conf` for Upstart, or `siteadmin.service` for systemd).

When you modify the Site Admin configuration by modifying the XML file or start scripts, you must restart Site Admin 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 siteadmin restart` to restart the service.

Copyright 2015-2025 Open Text
Version 25.2 | Last updated April 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: Site Admin 25.2

Topic Title: Configure the Java Heap Size