Pentaho

 View Only

 Not able to launch Spoon from Pentaho 8.1

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Nilesh Purohit's profile image
Nilesh Purohit posted 10-17-2018 22:04

Hi All,

I am able to use Spoon from Pentaho 8.1 on my laptop. I moved the same software to one of our test servers and when i try to launch Spoon, I get the below error.

DEBUG: Using JAVA_HOME

DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre7

DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre7\bin\java.exe

 

 

D:\Softwares\data-integration>"C:\Program Files\Java\jre7\bin\java.exe"  "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\launcher.jar -lib ..\libswt\win64  /level:Debug

Error occurred during initialization of VM

Incompatible minimum and maximum heap sizes specified

Picked up _JAVA_OPTIONS: -Xmx256M

 

 

Below are the setting at my side in the Spoon.bat file

if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"

 

 

Can you please tell me what is going wrong here or what i should check ?


#PentahoDataIntegrationPDI
#Kettle
#Pentaho
Dan Keeley's profile image
Dan Keeley

You've somehow picked up some previously set options in the environment, the error is clear:

Picked up _JAVA_OPTIONS: -Xmx256M

You'll never be able to start spoon on 256mb . (actually i think it's supposed to be m anyway?)