For Pro environments of Magento Commerce Cloud 2.3.x it is recommended to set
opcache.memory_consumption to at least 2GB, to avoid performance degradation.
Affected products and versions
- Magento Commerce Cloud 2.3.x, Pro environments
- PHP 7.0 and later
Allocate at least 2GB of memory for the OPcache PHP module.
The OPcache module is configured in the
php.ini file. To allocate 2048MB of memory, set
opcache.memory_consumption = 2048. For more details see Performance Best Practices - PHP Settings and Configure PHP options in Magento Developer Documentation.
Best practices to improve Magento Commerce Cloud site performance:
- Database best practices for Magento Commerce Cloud
- Most common database issues in Magento Commerce Cloud
- Indexers "Update On Schedule" optimizes Magento performance