• JimM
  • 0 Points
  • Member since 2011

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0

i'm trying to understand how the script statement limit governor is enforced for batch apex.  the governor limits as described in sf are 200k statements and 1M statements for batch apex and future methods.


my question is whether the 1M statements for batch apex applies to the total statements processed for all batches/transcations or applies separately to each batch/transaction.


so, if i have 20 batches and each batch processes 100k statements, is that going to count as 100k and never trip the limit or 2M statements and trip the limit?

  • October 04, 2011
  • Like
  • 0