I have a 8gb memory.
When my JAVA_OPTIONS is :"-XX:PermSize=256m -XX:MaxPermSize=256m -Xmn3072m -Xms6144m -Xmx6144m -XX:+UseParallelGC -XX:
ParallelGCThreads=4 $CONFIG_PROPS" , I can't execute any job which contain script or script file step. It throw the following errors:
Step 0 of the workflow threw an exception: error writing script to tempfile: Cannot run program "chmod": java.io.IOException: error=12, Cannot allocate memory
If I decrease the heap size to 4~5gb,it works well.