Problem
Batch processing terminates after a certain number of orders.
Troubleshooting
In most cases, the reason for termination is a limitation due to server configuration or the hosting provider.
You have two options to fix or work around the problem.
Change the server configuration
Set the PHP settings memory_limit to a value greater than 512M and max_execution_time to a value greater than 300.Select a smaller number of orders for batch processing