Changing the product batch size is risky, it could cause performance issues for your website.
Please note: changing the product batch size is risky, it could cause performance issues for your website.
To prevent your website from running into performance issues or timeouts upon creating product feeds our plugin processes your product feed(s) in small batches.
The default product batch sizes are as follows:
- PHP version < 5.6 = batch size of 50 products at once;
- PHP version 5.6 = batch size of 200 products at once;
- PHP version > 7 and the number of products on your website is smaller than 50000 = 750 products at once
- PHP version > 7 and the number of products on your website is over 50000 = 2500 products at once
In most cases, the default settings mentioned above work well and do not require any adjustments. However, we have found that some users may want to reduce the batch size further to minimize server resource usage or avoid timeouts. On the other hand, some users running dedicated servers with ample memory may want to increase the product batch size to complete their product feed(s) faster.
As of release 6.4.3 of our plugin, it is possible to change the default product batch sizes by taking the following steps:
Go to Settings > Plugin settings and enable the option “Change products per batch number“. You will be prompted with a pop-up warning asking if you really want to make changes to it.
![Enable batch size - AdTribes Enable batch size](https://adtribes.io/wp-content/uploads/Screenshot-2019-09-12-at-16.08.39-1024x59.png)
After pressing “yes” you will be able to insert the new product batch number:
![Insert batch size - AdTribes Insert batch size](https://adtribes.io/wp-content/uploads/Screenshot-2019-09-12-at-16.08.53-1024x114.png)
And that’s it. When your feed is refreshed, either manually or automatically, it will override the default batch number and use the number you have just entered.