How to Fix "Fatal error: Allowed memory size of xxxxxxxx bytes exhausted."

If you have a similar Magento error to the following "My error says, Fatal Error: Allowed Memory Size of 33554432 bytes exhausted (tried to allocate 72 bytes) in ...."

 

To fix this please create the file php.ini within your public_html folder with the following.

memory_limit = 64M
safe_mode = off
extension=pdo.so
extension=pdo_mysql.so

  • 0 Users Found This Useful
Was this answer helpful?