Support » Installing WordPress » Fatal Error on Upgrade, Allowed memory size exhausted?

  • Resolved nesagwa

    (@nesagwa)


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2356995 bytes) in /home1/tampamas/public_html/wp-includes/http.php on line 1331

    Not sure what this means. Any ideas?

    The site is http://www.tampamason.com

    EDIT: Found solution in another thread:

    Add this to your wp-config.php and try again

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

Viewing 15 replies - 1 through 15 (of 26 total)
  • Happened to me as well:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2356995 bytes) in /home2/mcdragon/public_html/blog/wp-includes/http.php on line 1331

    The fix you suggested did not solve the problem 🙁
    Is there anywhere in particular this has to be entered in wp_config.php

    Right solved!

    When you open the wp_config.php file put the following string

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

    at the very beginning of the file, but just after the <?php tag, OK.

    I put it at the end (and yes, it was within the <?php ?> tags at first and that didn’t work.

    Thanks. It worked for me.

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

    Hello,
    I have this same issue, but I can’t seem to find the wp_config.php file. I have looked in every folder in my CPanel (BlueHost) and have been unable to locate. Can someone supply the proper path to finding it? Thanks.

    Thanks

    @phillauterjung the “wp_config.php” file will be in the root directory of your WordPress install. It is in the folder that contains such folders as “wp-content” and “wp-includes”. It may be a problem with cPanel not allowing you to access these locations.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    You have to love it when you do a search in a forum and the hit at the top of the list cures your problem.

    Big thanks.

    feeby123

    (@feeby123)

    It’s great to see there’s a solution to this little problem but I am curious as to ‘why’ it’s happening. It’s a little scary when my WP doesn’t want to update like it should.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 954581 bytes) in /home/movafagh/public_html/farsi/wp-admin/includes/class-pclzip.php on line 4215
    WP_MEMORY_LIMIT don’t work for me!
    any suggestion?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    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. Talk to your host.

    None of these worked, just tried upgrading to 3.0 and what a goat rope. Server says it’s WP coding error, need assistance please.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Per nacin:

    We’re in the process of pushing out a plugin for this: http://wordpress.org/extend/plugins/memory-bump/

    In the meantime, you can also add this to your wp-config.php file:

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

    The issue is that WP *may* need more than the default 32 MB to upgrade to 3.0, due to the increased package size over 2.9. This is a “known issue”.

    3.0 handles this by always bumping you to a very high memory limit in the admin area, so you won’t see this once you’ve hit 3.0.

    I had the same problem and it worked for me – thanks for the help much appreciated – Mick

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2965231 bytes) in /home/devil/public_html/wp-includes/class-http.php on line 1402

    I am getting like above while upgrading to wordpress3.0 help needed..

    esmi

    (@esmi)

    Forum Moderator

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Fatal Error on Upgrade, Allowed memory size exhausted?’ is closed to new replies.