Increasing the memory of Tomcat

Talend MDM Platform Installation Guide

EnrichVersion
6.1
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Identity Management
Talend Administration Center
Talend Artifact Repository
Talend Activity Monitoring Console
Talend MDM Server
Talend Project Audit
Talend Studio
Talend ESB
Talend SAP RFC Server
Talend DQ Portal
Talend JobServer
Talend CommandLine
Talend Log Server
Talend Installer
Talend Repository Manager
Talend Runtime
Talend MDM Web UI

To increase the memory heap size of the server in order to make all the applications work properly, proceed as follows:

On Windows

  1. Go to <TomcatPath>/bin where <TomcatPath> is the Tomcat installation directory, and edit the file catalina.bat.

  2. Add the following line:

    set JAVA_OPTS=%JAVA_OPTS% -XX:MaxMetaspaceSize=512m -Xmx1024m -Xms256m

    The Tomcat memory size is now increased and the server can hold several web applications.

    For Oracle users only:

    Add the following line to the .bat file in order to specify the catalog and schema database parameters, and to avoid errors during Talend Administration Center startup:

    Xmx<1G> -Dtalend.catalog=<catalogName> -Dtalend.schema=<schemaName>

On Linux

  1. If you are using Ubuntu, change directory to <TomcatPath>/bin where <TomcatPath> is the Tomcat installation directory, and edit the file catalina.sh.

    If you are using another Linux distribution, edit the file /usr/share/tomcat/conf.

  2. Add the following line:

    JAVA_OPTS="$JAVA_OPTS -XX:MaxMetaspaceSize=512m -Xmx1024m -Xms256m"

    The Tomcat memory size is now increased and the server can hold several web applications.

    For Oracle users only:

    Add the following line to the .bat file in order to specify the catalog and schema database parameters, and to avoid errors during Talend Administration Center startup:

    Xmx<1G> -Dtalend.catalog=<catalogName> -Dtalend.schema=<schemaName>