Editing the memory and JVM settings for CommandLine - 6.3

Talend Big Data Installation Guide for Linux

EnrichVersion
6.3
EnrichProdName
Talend Big Data
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Installer
Talend JobServer
Talend Log Server
Talend Project Audit
Talend Runtime
Talend Studio

To gain in performance at runtime and when launching the CommandLine, you can edit the memory settings in the corresponding .ini file.

  1. Edit the Talend-Studio-linux-gtk-x86_64.ini file.

  2. Edit the memory attributes. For example:

    -vmargs -Xms512m -Xmx1536m -XX:MaxMetaspaceSize=512m

    Tip

    For big projects, you may need to increase Xmx to 4096m.

    For more details, see http://www.oracle.com/technetwork/java/hotspotfaq-138619.html.

  3. Edit the commandline-linux_x86_64.sh file.

  4. Change the following information:

    ./Talend-Studio-linux-gtk-x86_64 -nosplash -application 
    org.talend.commandline.CommandLine -consoleLog -data 
    commandline-workspace startServer -p 8002

    to

    /My_Jvm_Path/java -jar
    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    -nosplash -application org.talend.commandline.CommandLine
    -consoleLog -data commandline-workspace startServer -p 8002
    -vmargs -Xmx1536m -XX:MaxMetaspaceSize=512m

    Tip

    For big projects, you may need to increase Xmx to 4096m.