Forums

Memory exhausted error in admin panel after upgrade to 2.8 (67 posts)

  1. mr.bacan
    Member
    Posted 2 years ago #

    I had the same memory problem and I added this line to my wp-config.php file: define('WP_MEMORY_LIMIT', '64M');

    This solved my problem.
    Before that I tried changing the php.ini and didn't had any effect.

  2. magaworks
    Member
    Posted 2 years ago #

    Thank you so much for your input.

    I just did this one from Gestroud :
    «You could also add this line to your wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

    This way you won't have to constantly make the fix again whenever you upgrade WordPress.»

    All errors disappeared.

  3. baconzoo
    Member
    Posted 2 years ago #

    Mine has been in a death spiral for a week now.
    Set my WP_MEMORY_LIMIT', '64M then 120, then 256, 300+ a day later same issue. memory exhausted.

    I disabled my plug-ins. Could it also be RSS widgets?

  4. elmex
    Member
    Posted 2 years ago #

    This is not normal. I started with 16MB Memory_Limit in the year 2006, than 24, 32 and now this is still not enough!? Really a problem on blogs, which have some more visitors.
    Beside that, i got serious mysql-swapping problems due to the fact that some browser preloading all of the link rel=archive head tags. I hab to limit the mysql user with mysql limits to stop this, found several queries where explain select says "USING TEMPORARY" and "USING FILESORT" - things a good developer shoud never produce :-)
    I would wish for Worpress to remember his own slogan "Code is poetry"

  5. baconzoo
    Member
    Posted 2 years ago #

    question: Once I set my memory higher and cannot revert back to a number lower or else I get the white screen of death. How can I revert? Do I need to restart a service on the server end or something?

  6. elmex
    Member
    Posted 2 years ago #

    @baconzoo

    Yes, you have to restart your http daemon to make changes in php.ni active

  7. baconzoo
    Member
    Posted 2 years ago #

    OK, I got up at 4AM to try this:
    Deleted /blog and re-uploaded a new set of wordpress-2.8.6 files
    Restarted VPS server

    Again, I had to increase: define('WP_MEMORY_LIMIT', '333M');
    to a number higher than the previous one in order to "get to my blog" otherwise I get a blank white browser window.

    No Plug-ins installed. What else can I try? It has to be something in my Database? I even tried a different template.

Topic Closed

This topic has been closed to new replies.

About this Topic