• I know there are lots of posts about this subject, but none of the solutions proposed has solved my problem till now.
    I have a site (www.elespectadorimaginario.com) with 15 active plugins, all of them necessary for the site. Whenever I try to activate one more plugin I get this error, and everything goes wrong, so I need to disable all plugins through PHPMyAdmin and start again. Until recently the site was running fine with 17 active plugins.
    I’m in a VPS with 2GB RAM. I’ve set my memory_limit to 512M (when I run phpinfo() inside this particular domain this is the info I get). There seems to be something inside WordPress limiting the memory, but I can’ figure out what it is. I wrote this line in wp-config.php file: define ('WP_MEMORY_LIMIT', '512M');, I even edited the default-constants.php file to increase WP_MEMORY_LIMIT.
    Nothing of this works. I still get the same error, or something similar.
    Any possible help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Allowed memory size exhausted

    An Allowed Memory Size Exhausted error means that your WordPress installation doesn’t have enough memory to achieve what you want. You can try out the following steps:
    ■ Increase your memory limit in wp-config.php
    ■ Increase your memory limit by editing php.ini. This is not a file that comes with WordPress so if you are unfamiliar with it you should contact your web host about increasing your memory limit.

    Thread Starter vysser

    (@vysser)

    Hi Tara.
    Thanks for your answer, but as I said in my previous post I have already done what you suggest. I still get the same error.

    Moderator t-p

    (@t-p)

    have you tried:
    -deactivating ALL plugins (yes, all) temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicible, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    – To rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Out of memory (allocated 66322432…’ is closed to new replies.