Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Help needed to Set PENTAHO_DI_JAVA_OPTIONS in UNIX

$
0
0
Hi All,

I am using PDI 4.4 Community version in SUNOS (SunOS 5.11 11.3 i86pc i386 i86pc).
instead of setting PENTAHO_DI_JAVA_OPTIONS in spoon.sh, I was forced to set as Environment variable.

so for that I tried to set the variable in the start script (a script file used to set all variable when a user logged in) as below :


PENTAHO_DI_JAVA_OPTIONS="-d64 -Xmx 2g" ; export PENTAHO_DI_JAVA_OPTIONS


option -d64 to run the PDI in 64 bit version so that it will support 2GB heap space.
option -Xmx 2g to increase the heap space to 2GB.

is this the correct way to define the variable?

because I started getting below error :

# There is insufficient memory for the Java Runtime Environment to continue. -> for some jobs

# Native memory allocation (malloc) failed to allocate 1400832 bytes for card table expansion -> for some other jobs


Please suggest.


Thanks

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>