Recommended PHP Memory Limit for Magento

magento-1.7magento-1.8magento-enterprise

Simple question. What is your recommended PHP memory limit for Magento?

Best Answer

Recommended PHP memory limit for Magento is 512M

From System Requirements Prior to EE 1.14.1 and CE 1.9.1:

[...]

  • PHP Compatibility:
    • PHP 5.4 is supported natively by EE 1.14 and later and by CE 1.9 and later
    • Earlier CE and EE versions support 5.2.13 - 5.3.24; or 5.4.x with a patch for CE or EE (the patch is listed as PHP 5.4 Compatibility in the EE support portal)
    • Required extensions:
      • PDO_MySQL
      • simplexml
      • mcrypt
      • hash
      • GD
      • DOM
      • iconv
      • curl
      • SOAP (if Webservices API is to be used)
    • Safe_mode off
    • Memory_limit no less than 256Mb (preferably 512) [bold added]

[...]

For above these versions no memory is specified for system requirements only the PHP versions (PHP 5.4 and 5.5), but there are known issues with the default PHP memory limit of 128 Mb for these PHP versions.

Related Topic