0

系统详情:

Windows 7 Professional
Processor :Intel Core i3
RAM: 3GB
System Type : 32 Bit Operating System.

PDI 版本:

pdi-ce-6.0.0.0-353

执行的步骤:

 1. Extracted the Zip File pdi-ce-6.0.0.0-353.zip into G:\ Drive
 2. Created Environment Variable PENTAHO_JAVA_HOME and set value to C:\Program Files\Java\jdk1.7.0_79\jre

从 cmd 执行 Spoon.bat 时收到错误:

DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79\jre
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe

G:\Pentaho\pdi-ce-6.0.0.0-353\data-integration>start "Spoon" "C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe"  "-Xms1024m" "-Xmx256m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-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  
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79\jre
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe

G:\Pentaho\pdi-ce-6.0.0.0-353\data-integration>start "Spoon" "C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe"  "-Xms1024m" "-Xmx256m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-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  
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79\jre
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe

G:\Pentaho\pdi-ce-6.0.0.0-353\data-integration>start "Spoon" "C:\Program Files\Java\jdk1.7.0_79\jre\bin\javaw.exe"  "-Xms1024m" "-Xmx256m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-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  
4

3 回答 3

5

默认情况下,spoon.bat 中的 XMX 参数值为 2048M。这不是启动Jre,所以早些时候我把它改成了256M。突然间,我尝试spoon.bat文件中的XMX参数值从XMX256m更改为Xmx1024m,然后它工作了。不知道这个 XMX 代表的原因或逻辑,以及这里应该有什么值在数学上支持您的系统配置。

于 2015-12-12T17:17:41.537 回答
1

xmx将参数从更改2048M1024M并且Pentaho开始工作。

PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx1024m" "-XX:MaxPermSize=256m"

确保更新 Pentaho 启动所需的环境变量。

PENTAHO_HOME
PENTAHO_JAVA_HOME
于 2017-06-14T17:05:37.617 回答
0

右键单击并打开spoon.bat文件,根据您的系统配置将下面字符串中的xmx值更改为较低的值PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx1024m" "-XX:MaxPermSize=256m"

重新启动 pdi,这应该可以工作。

于 2019-11-25T04:19:59.540 回答