In Talend Studio, you can define the parameters of your current JVM before executing your Job or Route according to your needs.
The default parameters
correspond respectively to the minimal and maximal memory sizes reserved for your Job or
Route executions. Edit these parameters to meed your specific needs.
To specify these parameters globally in Talend Studio, see Debug and Job execution preferences (Talend > Run/Debug).
When your Job or Route is published to Talend Cloud as artifact, the specified parameters serve as default execution settings. If a run profile, which is a set of task execution configurations, is defined for your Job or Route on Talend Cloud simultaneously, it overrides the default execution settings for the specified parameters. Other settings are merged.
- In the Run view, in the Advanced settings tab, select the Use specific JVM arguments check box.
Click the New button and
then, in the Set the VM Argument dialog box
that opens, enter the argument to use.
For example, to successfully execute a Job that handles an Excel file containing a million records, you may want to specify
-Xmx8192Mto increase the maximum VM memory size to 8 GB.
- Click OK to add the argument.