I am currently running a for loop to add insert commands to the batch queue. At first i tried adding all 5000+ records the the batch queue but everything fails. I limited the number of records to 100 and it works.
Is there another way of adding a large number of records?