• I *think* I’m using 3.0.2. (I know I’m using 3-point-something and it’s not the very newest one.) However, the nature of my problem is keeping me from verifying exactly.

    I have been unable, the last several times, to upgrade automatically, because I get a “fatal error: out of memory” error. Although a nuisance, this is ultimately not a big deal; I just update manually. None of the fixes suggested here have worked. And I have other WordPress installations on the same host account which work fine, so it’s not a server issue.

    But today, I can’t log onto anything admin! Whether I attempt to go to the wp-admin/ directory, type my way directly into my list of posts, or click through the “edit” link on a previously-posted article, I keep getting an error like this: Fatal error: Out of memory (allocated 23068672) (tried to allocate 19456 bytes) in /home/homework/public_html/wp-admin/includes/theme.php on line 83

    This is a REALLY big problem, because I literally cannot do ANYTHING with my blog (except view it, as a reader would). What the heck is going on?

Viewing 15 replies - 1 through 15 (of 22 total)
  • If the other setups work fine there has to be something unique about this install. I would try removing plugins first to see if that helps and go from there.

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    4. Talk to your host.

    #3 is likely simplest for you

    Thread Starter A2JC4life

    (@a2jc4life)

    I have tried all of those memory “edits.” But you may also notice that it has allocated well over the number of bytes it says it tried to allocate.

    Hyper, how do I remove or disable the plugins if I can’t get into admin?

    If you remove the plugin from wp-content/plugins that will deactive them. Just hold on to the files elsewhere so you can turn them back on later.

    Thread Starter A2JC4life

    (@a2jc4life)

    I will try that. Thanks! (Any idea why the problem would have suddenly “jumped,” though? I have not done anything with this blog since the last time I logged in.)

    It is kind of hard to tell. Your host might give you just enough memory to make it by and that might be why these issues crop up like this. If you keep having issues you might try moving to a bigger webhost that would give you more memory.

    Thread Starter A2JC4life

    (@a2jc4life)

    Okay; I moved ALL plugin files/folders out to another location (outside of my blog installation). That DID fix the login issue (for now, at least). Out of curiosity, though, I went ahead and tried to update WordPress, and still got this error:

    Fatal error: Out of memory (allocated 20709376) (tried to allocate 2975669 bytes) in /home/homework/public_html/wp-includes/class-http.php on line 1408

    How would you recommend going about moving plugins back IN? Would you just copy the folders back in one at a time until it breaks, and then move the last one back out? Or is there another way to do it?

    You can copy all of the files back. Just having the files moved back in will not activate them. You can then activate them one at a time from the admin and if it kills the site just remove that one from the folder. Ultimately you might have to ask your host to increase your memory limits or look to moving to a new host.

    Thread Starter A2JC4life

    (@a2jc4life)

    Oh, one other plugin-related question: is it normal for some plugins to have their files in the plugins folder, but not in their own subfolder? ‘Cause I had a couple like that, and I wondered if maybe that was the problem. But maybe that’s not unusual.

    It is better to have them in a subfolder mostly to make it easier to manage the files and better organize the folder but overall it doesn’t HAVE to be that way.

    Thread Starter A2JC4life

    (@a2jc4life)

    Well, phooey. I moved the plugin files back in, and I immediately can’t get back in again.

    That is strange. Try moving them one a time if that’s the case. WordPress shouldn’t of activated them though.

    Thread Starter A2JC4life

    (@a2jc4life)

    Hmmm…actually it is activating them as I put them back. Still, replacing them one at a time should tell me what’s breaking things. It still seems weird that it flaked out so suddenly. I didn’t JUST install any of these. Wish I understood this stuff better!

    I really, really appreciate your help!!

    Not a problem. If you look at older posts I have replied to at least of them dealt with plugin issues.

    Thread Starter A2JC4life

    (@a2jc4life)

    Weirder and weirder. I moved them all back in, one at a time, and I can still get in. I think my server has a gremlin! lol

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘"out of memory" error (Urgent!)’ is closed to new replies.