Configure the Java Heap Size

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

    The default value is 1024.

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

If you run Data Admin as a service on Linux, you can set or modify the java heap size in the start scripts (dataadmin.sh for SystemV, or dataadmin.service for systemd).

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