Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
%~d0
cd %~dp0
java -Xms256M -Xmx2048M -cp classpath.jar; shong.test_0_1.test --context=Default %*
Hi
Do you have the same problem when you execute the same job in Talend Studio where you have allocated more memory to the job by modifying the java parameter -Xmx. If you have export the job script, you can allocate more memory to the job executing through modify the job script, for example;%~d0
cd %~dp0
java -Xms256M -Xmx2048M -cp classpath.jar; shong.test_0_1.test --context=Default %*
In addition, you need to check if the job can be optimized to avoid storing huge amount of data in memory, refer to this KB article:
https://community.talend.com/t5/Migration-Configuration-and/OutOfMemory-Exception/ta-p/21669?content...
Shong