This page has moved to Adobe Experience League and will be redirected soon.
Best practice for OPcache memory size in Adobe Commerce
Best practice for OPcache memory size in Adobe Commerce
For Adobe Commerce on cloud infrastructure Pro plan architecture 2.3.x - 2.4.x, it is recommended to set opcache.memory_consumption
to at least 2GB, to avoid performance degradation.
Affected products and versions
Adobe Commerce on cloud infrastructure Pro plan architecture 2.3.x - 2.4.x
PHP 7.0 - PHP 8.0 and later
Best practice
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 our developer documentation.
Best practices for improving Adobe Commerce on cloud infrastructure site performance in our support knowledge base:
Was this article helpful?
Yes
No
1 out of 2 found this helpful