Reputation: 39
I have an issue that I can't seem to resolve. I have a job (A) that calls another job (B). Iteration takes place in job B. There is a loop inside job B which reads one row at a time from a source file and writes to a text file.
Problem is the source file contains 37,000 rows but the execution stops at row 27,000. It crashes and gives me
"ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : java.lang.StackOverflowError"
I have tried to gradually increase the stack in spoon.bat from 1g to 7g "-Xms7g" "-Xmx12g" "-XX:MaxPermSize=256m"
but continues to crash. Any idea how can I solve this problem?
Upvotes: 2
Views: 1669
Reputation: 39
I finaly solved the the problem, i added one parameter ("-Xss512m") to my spoon.bat "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms2048m" "-Xmx4096m" "-Xss512m" "-XX:MaxPermSize=256m"
Upvotes: 1