Author Topic: PENTAHO java.lang.OutOfMemoryError: Java heap space ... How do you solve this?  (Read 93 times)

0 Members and 1 Guest are viewing this topic.

Offline GBTalk

  • Full Member
  • *
  • Posts: 184
  • Karma: +0/-0
    • View Profile
java.lang.OutOfMemoryError: Java heap space ... How do you solve this?

Techronnati | where technology never sleeps


Mountain View

Offline Corps

  • Sr. Member
  • *
  • Posts: 275
  • Karma: +0/-0
    • View Profile
Pentaho runs inside a Java virtual machine, and hence is bound by the properties of that VM.
These optimisations can apply to just about any Java application, including the Pentaho BI Server and GUI tools.
Method to increase memory allocation:
Open the file spoon.sh or spoon.bat in a text editor
Look for a section that looks like this:


# ******************************************************************
# ** Set java runtime options                                     **
# ** Change 256m to higher values in case you run out of memory.  **
# ******************************************************************

OPT="-Xmx256m -cp $CLASSPATH -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES"
Change the -Xmx parameter to alter the maximum heap size, e.g. -Xmx1024m

Offline LadyProgrammer

  • Full Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Well, actually that would increase only the memory used by the Spoon Designer... You must also do the same to kitchen.sh and pan.sh (or kitchen.bat and pan.bat) because kitchen and pan are who make the tough job in a data integration process in Pentaho.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
116 Views
Last post October 13, 2008, 02:58:40 PM
by h2obubbler
0 Replies
158 Views
Last post October 13, 2008, 03:07:51 PM
by h2obubbler
0 Replies
414 Views
Last post June 17, 2015, 08:40:11 AM
by JusticeLeague
1 Replies
80 Views
Last post August 23, 2016, 02:12:21 AM
by arpee
0 Replies
78 Views
Last post October 19, 2016, 12:38:51 AM
by Corps

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.