zoukankan      html  css  js  c++  java
  • 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:softwareJavajdk1.7.0_79
    DEBUG: _PENTAHO_JAVA=D:softwareJavajdk1.7.0_79injava.exe

    D:softwarekettledata-integration>"D:softwareJavajdk1.7.0_79injava.exe"  "-Xms1024m" "-Xmx1500m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswtwin32" "-DKETTLE_HOME=D:softwarekettledata-integration" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcherpentaho-application-launcher-6.0.0.0-353.jar -lib ..libswtwin32  /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

  • 相关阅读:
    Python学习记录x(虚拟环境)
    Python学习记录6(模块)
    Python学习记录4(python高级特性)
    Python学习记录3
    Python学习记录2
    Git使用小记(Windows)
    Git进入vi后如何保存并退出(Windows)
    python和OpenCV获取和改变图片的尺寸并处理视频
    Faster R-CNN检测模型的环境搭建(Ubuntu,caffe)
    【C++】查找算法和排序算法
  • 原文地址:https://www.cnblogs.com/kongxc/p/6413654.html
Copyright © 2011-2022 走看看