Forums

[resolved] Out of memory error when I try to install 3.0.1 (9 posts)

  1. jamesmorison
    Member
    Posted 1 year ago #

    I am running 3.0 and want to upgrade to 3.0.1. I ran the update automatically option and got this error:

    Fatal error: Out of memory (allocated 44302336) (tried to allocate 2966269 bytes) in /mnt/w0103/d35/s22/b02fe1f8/www/dynamiclethargyfilms.ca/blog/wp-includes/class-http.php on line 1408

    I found one post on the support blog http://core.trac.wordpress.org/ticket/12057 that had a similar error, but it was for 3.0 and I couldn't understand what they suggested to do about it

  2. songdogtech
    Member
    Posted 1 year ago #

  3. James
    Happiness Engineer
    Posted 1 year ago #

    Unfortunately the Memory Bump plugin won't work on 3.0 as the same functionality is built into the core, and that functionality may not work on all server configurations (which appears to be the case here).

    Here are four more ways to increase PHP's memory allocation:

    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 = 64M ; Maximum amount of memory a script may consume (64MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');
    
    4. Talk to your host.
  4. songdogtech
    Member
    Posted 1 year ago #

    Ah, didn't know that about that plugin. Those memory bumps are the standard ones to try.

  5. jamesmorison
    Member
    Posted 1 year ago #

    Thank your for your advice.

    1. I can't find the PHP.ini file

    2. I tried the changes you suggested in the .htaccess file, but then I couldn't log into WordPress.

    3. I made the suggested change to the the wp-config.php file, but I got the same error message as before.

    4. I've already tried contacting the host, but they haven't replied.

    I will try contacting the host again.

  6. In theory the manual upgrade will still work, so if you can do that, you should be okay.

  7. jamesmorison
    Member
    Posted 1 year ago #

    I tried the manual upgrde. I have no idea what I was doing, but it worked.

    Thanks for the advice.

  8. SLeepdepD
    Member
    Posted 1 year ago #

    I just got this error with the automatic upgrade of 3.1. I disabled all my plugins and then it worked without error.

  9. gmarques
    Member
    Posted 1 year ago #

    I have had the same problem.

    I disable all the extensions, try the update and IT'S WORKING !!!

    Take chance :)

Topic Closed

This topic has been closed to new replies.

About this Topic