Solved! Go to Solution.
I have retried to use script command for executed my Talend Job.
I have optimized my argument and now it's Ok.
After verification, I noticed than used arguments are defined in advanced Settings (Tabs Execute). Before I modified the arguments in my preference settings.
Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again.
You can also try increasing the amount of system memory allocated to the Java virtual machine by setting an environment variable.
Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
That’s it, your Java program should now be able to execute properly.
For those interested, Java -Xmx/s is the configuration parameter that control the amount of memory Java uses.
Xmx sets the maximum heap memory size
Xms sets the minimum heap memory size