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