I am using pentaho pdi version 4.1. I am getting java.lang.OutOfMemoryError: Java heap space
error. My input is salesforce step and it would have more than 40000 rows. I tried setting -Xmx
JVM option [in both spoon and kitchen] from 512M
to 1048M
. I got the same failure again.
The following Java options might help diagnose your problem:
-XX:+UnlockDiagnosticVMOptions
The UnlockDiagnosticVMOptions
options logs the garbage collection actions so that you can see what happens before your out of memory error. I use the following options to help make garbage collection run better for my Java server:
-XX:MaxPermSize=512m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:ParGCCardsPerStrideChunk=4096
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With