• I have an ongoing issue with these messages. In the past, I was getting them only when attempting to auto-upgrade. Then yesterday I was blocked out of the entire admin area. Removing all plugins removed the error and let me get back in, but I still couldn’t auto-upgrade. I tried to re-enable plugins one by one, but I started getting “out of memory” errors in the WordPress Development Blog section of my dashboard. These did not appear to be connected to any specific plugins. (That is, I could swap them out, and I still just ended up getting that error at some point.)

    I do not see a PHP.ini file. Apparently there isn’t a local one, but my host said I could create one, so I tried that. 128M. Didn’t help.

    I have tried adding the suggested line to my .htaccess file to increase memory, and got a completely different error, which prevented the whole blog from loading at all.

    I have tried adding the recommended line to wp-config, to no effect.

    I have contacted my web host, and they assure me that, ‘though they don’t want to increase the memory allocation server-wide (apparently that would cause problems of its own), these fixes should allow for the necessary memory on my own account. (I also have two other WordPress blogs on this same server, neither of which has ever had any problems. This one never had an issue, either, until somewhere around version 2.8.)

    Additionally, the numbers that are showing in these error messages don’t make sense. It seems to be saying it’s running out of memory while there should be plenty left (according to the numbers).

    So what gives? (It’s looking to me like some kind of WordPress bug.)

Viewing 15 replies - 1 through 15 (of 28 total)
  • I am having very similar problems not seemly related to any one plugin, at some point reinstalling them the site blanks out with the memory message.

    Thread Starter A2JC4life

    (@a2jc4life)

    As noted in my original post, I have already tried all of these things.

    (BTW, does anyone have an estimate of approx. how much memory WordPress should be using?)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    My php.ini memory limit is set to 32M. Alas, it’s more than JUST that, since certain PHP configs use more memory than others.

    Thread Starter A2JC4life

    (@a2jc4life)

    So can anyone answer the question about how much memory a typical WP installation should be using? If the solution to this issue is supposedly to just “find a new web host,” then the dozens of us with this issue need to know what we’re looking for in a host.

    I also am still befuddled by the fact that many of us are getting error messages saying that x space was needed and only y space was available, when x < y.

    So can anyone answer the question about how much memory a typical WP installation should be using?

    There’s no such beast as a “typical WP installation”. I commonly only use about 8 plugins. At least one other regular hereabouts has more than 5 times that number, I believe.

    As Ipstenu already suggested, you should aim for at least 32M. How many plugins you can install or whether this limits you in terms of flashy themes is dependant upon your host’s PHP config – again as Ipstenu mentioned.

    Thread Starter A2JC4life

    (@a2jc4life)

    I used a php.ini file to increase the memory to 128M, and it didn’t fix the problem. Should my installation really be using that much memory?

    Thread Starter A2JC4life

    (@a2jc4life)

    Oh, and I should probably mention that that was even with all plugins disabled.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No, WordPress should not be causing that much memory usage.

    I think you have a badly installed/configured PHP.

    Thread Starter A2JC4life

    (@a2jc4life)

    Can you clarify? What do you mean by badly configured PHP? Are you referring to the WordPress install, the PHP server itself, or something else?

    (I actually deleted ALL of my WordPress files today – except my plugins and themes – and completely reinstalled WP. I’m still having issues.)

    (edited to fix typo)

    Additionally, not all hosts allow you to increase your memory allocation – which is why Step 4 suggests that you contact them.

    THIS WORKS FOR ME:

    ENTER AFTER:
    define(‘ABSPATH’, dirname(__FILE__).’/’);

    THE FOLLOWING:

    define(‘WP_MEMORY_LIMIT’, ’64M’);

    Thread Starter A2JC4life

    (@a2jc4life)

    I tried all of those. None of them worked. And, yes, my host confirmed that I can increase the memory limit by any of the methods you all suggested.

    Then ask your hosts for assistance.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Fatal Error: Out of Memory messages’ is closed to new replies.