» Fatal error: Allowed memory size of 33554432 bytes exhausted
Posted by | 2 Comments
Posted on: April 28th, 2011

You may get an error on your Magento site, something like this,

“Fatal error: Allowed memory size of 33554432 bytes exhausted”

This is because of the PHP Memory Limit.

Here is how to fix.

  1. Goto your website root from FTP.
  2. You will see a file called php.ini.sample
  3. Rename it to php.ini
  4. Edit that file .
  5. Paste this code there,
    disable_functions =
    memory_limit = 384M
    extension=pdo.so
    extension=pdo_mysql.so
    extension=pdo_sqlite.so
View 's Profile | Subscribe via RSS
Related Articles
    None Found
2 Responses
  • #1 On May 22nd, 2011 @ 12:37 pm
    ebenfabricius says:

    i have now tried copying this code. i have renamed to php5.ini. i have deleted and renamed and recopied. I an starting to get so frustrated, i just keep on getting this error.

    any other advice?

    Please help…

    Reply
  • #2 On January 27th, 2012 @ 2:56 am
    minitehnicus says:

    worked for mine. great post.
    thank you.
    magento 1.6.2.0

    Reply
Leave your response:

Name (Required)

Email (Required)

Website (Optional)