KETTLE memory overflow solution

The kettle memory overflow data ran to half or most of the time an error was reported.
In the running path of kettle, open Spoon.bat with a text editor and find:

REM ******************************************************************
REM ** Set java runtime options **
REM ** Change 256m to higher values in case you run out of memory. **
REM ******************************************************************

set OPT=-Xmx1024m -Xms512m -XX:MaxPermSize=2048m “-Djava.library.path=%LIBSPATH%” “-DKETTLE_HOME=%KETTLE_HOME%” “-DKETTLE_REPOSITORY=%KETTLE_REPOSITORY%” “-DKETTLE_USER=%KETTLE_USER%” “-DKETTLE_PASSWORD=%KETTLE_PASSWORD%” “-DKETTLE_PLUGIN_PACKAGES=%KETTLE_PLUGIN_PACKAGES%” “-DKETTLE_LOG_SIZE_LIMIT=%KETTLE_LOG_SIZE_LIMIT%”

Increase the field to: -Xmx1024m, preferably an integer multiple of 256;
modify the field: MaxPermSize is the maximum value, which is the largest at runtime, which can also solve the problem.

Guess you like

Origin blog.csdn.net/Dreamy_zsy/article/details/108759508