(Optional) Customizing Java setup and optimization for Remote Engine services
Optimize engine service's performance and compatibility with Java settings:
- Configure Java instances for engine startup and artifact execution
- Adjust Java heap size to fine-tune performance
Changing Java instances for Remote Engine services
You can still change Java instances to be used by a Talend Remote Engine service after installing it.
Remote Engine uses two types of Java instances:
-
Engine startup Java instance:
- Java 17 required for engine startup.
- Configured in talend-remote-engine-service and talend-remote-engine-wrapper.conf.
-
Artifact execution Java instances:
- Used to run Jobs or Microservices.
- Configuration depends on your engine version:
- Talend Remote Engine v2.13.9 onwards: Adaptive mode automatically selects appropriate Java version.
- Older versions: Manual specification of a single Java version required.
This section explains how to change the Java instance for engine startup. For details about configuring Java instances for artifact executions, see Setting up compatible Java versions to run Jobs or Microservices.
Procedure
Results
This process ensures that the Remote Engine uses the updated Java instance for its startup.
As explained at the beginning of the section, when executing artifacts, the engine defaults to the adaptive mode to select the appropriate Java instance.
To verify which Java instance is used by the adaptive mode and make updates if necessary, see Setting up compatible Java versions to run Jobs or Microservices.
Specifying Java heap size for a Remote Engine service
When you have installed Talend Remote Engine as a system service, you can adjust the Java heap size (the JVM memory) allocated to it.