New answers tagged

1

This can happen if you have a significant amount of code that runs by way of DML triggers. You may need to reduce the scope size in order to process records. The second parameter to Database.executeBatch controls the scope size. Database.executeBatch(new MyBatchClass(), 100); The default is 200, which may be too big. Try reducing the scope size until you ...


Top 50 recent answers are included