I'm getting errors telling me to "increase heap memory or reduce job's thread count" when I'm trying to commit batch updates into Salesforce from Mule. The problem is I'm not sure exactly where to tweak either of these settings (assuming that's actually the answer) - can anyone point me in the right direction please?
I did cut the batch size down from 10k to 2k to try and resolve this but it didn't help. This is happening both in Anypoint Studio and on multiple CloudHub applications (one of which is 2 cores/3.5GB)
com.mulesoft.module.batch.engine.buffer.CommitRecordBuffer: Exception found flushing 2000 records on buffer batch-step-upsertAccount-fixed-commit-buffer com.mulesoft.module.batch.engine.threading.BatchRecordWork: Ran out of memory while processing instance of batch job 'accountBatch'. Increase heap memory or reduce job's thread count java.lang.OutOfMemoryError: Java heap space
scatter gather thread details 1 Answer
Salesforce connector and batch job 2 Answers
threading-profile 0 Answers