kettle启动时候报a fatal exception has occurred
Posted For_elegant
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章
启动eclipse时候提示错误Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred
安装kettle遇到的一些问题。 a java exception has occurred;
mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist
fatal exception occurred program will exit错误原因之一。
Kettle启动时报错Cannot create java virtual machine & A java exception has occurred