Mac安装Kettle步骤详解
https://blog.csdn.net/supperdoof/article/details/80351753
按照步骤操作,在最后一步启动Kettle时报错:
(base) Nimo-Ding:data-integration Nimo_Ding$ sh spoon.sh
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
-Djava.endorsed.dirs=/Users/dingding/Downloads/data-integration/system/karaf/lib/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
(base) Nimo-Ding:data-integration Nimo_Ding$
错误原因:
程序启动设置的内存,大于物理机的内存,修改Spoon.bat文件设置就可以正常启动啦!
解决办法:
打开Spoon.bat内存配置:
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"
改为
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms 512m" "-Xmx512m" "-XX:MaxPermSize=256m"