Kettle has been used for data statistics recently. The solution to the problem mentioned in the title is also simple, but it should be explained.
Although both of them are memory overflow, they are differentiated. outofmemoryerror indicates heap overflow, and stackoverflowerror indicates stack overflow. Generally, there are many cases of the former and fewer cases of the latter, unless you use a deep loop. Generally, the default value of stack is kb to kb ~ 256 K, which is enough. You don't need to modify it, but you need to modify it in the deep loop of big data.
Stackoverflowerror modification method
-Xss1024m
Outofmemoryerror modification method
-Xmx3072m
Add the two to the JVM environment variable settings.
This article from "Qiao Lei's blog learning progress" blog, please be sure to keep this source http://sucre.blog.51cto.com/1084905/1433100