Memory settings and JVM - 6.1

Talend MDM Platform Installation Guide

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

Configure the .ini file on Linux/Windows

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

  • Examples:

    • Talend-Studio-linux-gtk-x86 -> Talend-Studio-linux-gtk-x86.ini

    • Talend-Studio-win32-x86.exe -> Talend-Studio-win32-x86.ini

    The default values are:

    -vmargs -Xms40m -Xmx500m -XX:MaxMetaspaceSize=128m

    If your system resources allow you to change it, edit the default values to:

    -vmargs -Xms40m -Xmx500m -XX:MaxMetaspaceSize=256m

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

    If your Studio is installed on Unix-like system, add execution rights on the relevant Studio binary file. On a standard Linux distribution, type in the following command:

    $ chmod +x Talend-Studio-linux-gtk-x86
    $ ./Talend-Studio-linux-gtk-x86

For 64-bit platforms on Linux/Windows

  • You need to add the following JVM attributes to the "-vmargs":

    -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

    in the .ini file corresponding to the binary file called in the commandline.sh.

For non Linux/Windows platforms

  • To be able to use a different JVM than the default one (for platforms other than Windows and Linux for example), edit the commandline.sh file and replace the following content:

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

    with:

    /My_Jvm_Path/java -Xmx1024m -XX:MaxMetaspaceSize=256m -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

    Note

    Do not forget the -vmargs information as the corresponding .ini file will not be taken into account any longer.

For 64-bit platform on non Linux/Windows OS

  • For non Linux/Windows 64-bit platforms, change the following information:

    ./Talend-Studio-linux-gtk-x86 -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 -Xmx500m -XX:MaxMetaspaceSize=256m
    -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith