we are using pentaho 9.1 on java 8 which is currently configured to use 4GB of memory (for both xmx and xms). In some complex jobs we have OutOfMemory issue. After analyzing