Set memory limit to max available
Reduce batch size

Now that failures must be cleaned up and handled by the plugin scheduling
the action, we should try to avoid fatal errors like memory exhaustion or
timeout. Reducing the batch size slows the speed of processing but greatly
reduced the risk of these errors.