Wednesday, March 24, 2021

Pentaho Kettle Error: Could not create the Java Virtual Machine.

 E:\pdi\data-integration>Spoon.bat

DEBUG: Using JAVA_HOME

DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_65

DEBUG: _PENTAHO_JAVA=C:\Program Files (x86)\Java\jdk1.7.0_65\bin\javaw.exe


E:\pdi\data-integration>start "Spoon" "C:\Program Files (x86)\Java\jdk1.7.0_65\bin\javaw.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\pentaho-application-launcher-6.0.1.0-386.jar -lib ..\libswt\win32




Error :

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.



scenario :

Few hours before pentaho was running fine on machine, after changing the version of libraries, bat files and plugins i was facing above error.

So i was pretty sure about error is not related to OS version or java


Solution:

I decreased the Xmx1024m to Xmx512m in spoon.bat, it worked

No comments:

Post a Comment

web stats