首页 > 代码库 > kettle启动时候报a fatal exception has occurred
kettle启动时候报a fatal exception has occurred
本人刚接触ETL工具 Data Integration - Kettle ,下载了kettle6.0版本,但是在window +jdk1.7(32位)下启动报错,
使用SpoonDebug.bat写的日志信息是:
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=D:\software\Java\jdk1.7.0_79
DEBUG: _PENTAHO_JAVA=D:\software\Java\jdk1.7.0_79\bin\java.exe
D:\software\kettle\data-integration>"D:\software\Java\jdk1.7.0_79\bin\java.exe"
"-Xms1024m" "-Xmx1500m" "-XX:MaxPermSize=256m"
"-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
"-Djava.library.path=libswt\win32"
"-DKETTLE_HOME=D:\software\kettle\data-integration"
"-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD="
"-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT="
"-DKETTLE_JNDI_ROOT=" -jar
launcher\pentaho-application-launcher-6.0.0.0-353.jar -lib
..\libswt\win32 /level:Debug
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
经高人指点,将Spoon.bat中
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" 修改的小一些就可以启动了。
具体原因可能是32位的JDK可使用的最大内存的限制。kettle官网http://wiki.pentaho.com/display/EAI/A+guide+to+setting+up+PDI+in+a+Microsoft+client-server+style+environment 提示信息(the limit for 32-bit JVM is around 1583)
来源:http://blog.csdn.net/chong0104/article/details/49488803
kettle启动时候报a fatal exception has occurred