View Only


  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
  • Spoon
Terence Mothers's profile image
Terence Mothers posted 08-02-2019 08:20

I had these issues but all it took was a visit to Java and download the remove old java tool and ran it

install java version 1.8.0_221

re point JAVA_HOME in the Control Panel\All Control Panel Items\System\advanced system settings\environment Vaiables. to the updated Java directory C:\Program Files\Java\jre1.8.0_221

Run Spoon.bat

all is well in the world.

NewBee Issues with Spoon and getting started on Pentaho:

Windows 10, 64bit,  

java version "1.8.0_191"

Java(TM) SE Runtime Environment (build 1.8.0_191-b12)Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Downloaded unzipped to  C:\Pentaho\ as C:\Pentaho\data-integration click spoon and nothing 

The SpoonDebug.txt output 


DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_191DEBUG: _PENTAHO_JAVA=C:\Program Files (x86)\Java\jre1.8.0_191\bin\java.exe

C:\Pentaho\data-integration>"C:\Program Files (x86)\Java\jre1.8.0_191\bin\java.exe" "-Xms1024m" "-Xmx2048m" "-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\launcher.jar -lib ..\libswt\win32 /level:Debug

Error occurred during initialization of VMCould not reserve enough space for 2097152KB object heapJava HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Any clues on how to proceed? 

The Report Designer runs like a dream C:\Pentaho\report-designer\launcher.jar 

Ana Gonzalez's profile image
Ana Gonzalez

By default Spoon is reserving 2GB of RAM for Java, and you probably don't have enough RAM for that. If you open the spoon.bat file with a text editor you'll find a line with something similar to:

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

You can adjust the -Xms1024m and -Xmx2048m to something like -Xms512m -Xmx1024m and see how it goes, but if you try to process a high amount of data with PDI you might run out of memory.