WordPress 3.0 Memory Requirements: 256 MB

In the last weeks after the release of WordPress 3.0 I got again a lot of failure reports in the forums like :

I am getting the following error on a fresh install. Any idea why?

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 58368 bytes) in /vservers/mysite/htdocs/wp-content/plugins/nextgen-gallery/widgets/widgets.php on line 308

The reason is the increased memory needs for WordPress itself, a developer noticed that they raised the requirement up to 256MB ! Although this value is currently absolute unrealistic for a shared hosting, it means you need to increase your memory limit. I tested my plugin here with 48MB and 64MB limits and it works fine… If you can use the plugin but you are not longer able to create thumbnails, please remind my blog post two years ago, it’s the same issue…


14 thoughts on “WordPress 3.0 Memory Requirements: 256 MB

  1. I upgraded to wordpress 3.0 and saw my RAM settings change from 50MB to 256MB. And I could find no way to set it back to what I wanted. Since our server only has 384mb of RAM, allocating 256mb to wordpress was not something we could do, so I downgraded back to 2.9.2. I advise other to pass on wordpress 3.0. It’s a major RAM hog.

  2. alex.rabe says:

    Look into ‘wp-admin/admin.php’, line 96 and delete it, this code “try” to increase the limit. It doesn’t mean that WordPress require 256 MB

  3. Stefan says:

    Had the same problem too, and it is right: 256MB is absolutely crazy. I get 56, and this is fine already. Lot of the hosters provide less.

    I figured a solution for me. THE ONLY SOLUTION THAT WORKED: I downgraded the php-Version i am using (my provider lets me choose between a lot of versions). I had the problem with all Versions higher than 5.x.
    So i downgraded do 4.4 again and everything is fine. Even batch-upload with almost 200 images in the .zip file is no problem at all!

    I did not discover any problems yet, despite the message nextgen gallery gives in the dashboard about using 5.2.x or higher.

  4. Suneel says:

    But, why was this not officially declared to the public?

    I suppose this requirement would scare most of the bloggers on shared hosting.

    But, my blogs are running fine on DreamHost shared hosting even though I am working on WordPress 3.0

  5. […] seen reports that the new recommended memory requirement for running WordPress 3.0 is now 256 MB, yet there is no mention […]

  6. Tzaddi says:

    Commenting out line 96 didn’t fix the error for me. But, when I changed the WordTube playlist to use .flv files that we have in our uploads vs pulling the videos from YouTube, they play just fine. Prior to that I got “Error #2036” after I clicked play.

  7. Geoff says:

    still running into this issue. commenting out that line had no effect for me either. i mostly use the plugin to display galleries inside of posts on my site. really love the plugin, hopefully we can get a solution to this w/o having to revert to an older wordpress.

  8. Michael Andersen says:

    Could you take a look at this, please: http://wordpress.org/support/topic/412619?replies=11#post-1602143

    Best regards
    Michael, DK.

  9. Tony says:

    And I thought 128 mb was a lot of memory! Is there anything wrong with setting the memory limit too high?

  10. sebastien says:

    Alex, Sorry, but i have a question about wp3 and nextgengallery, and i find no response.
    With wp3.0, i want that all my galleries are accessible from all my sites (sites of my network), but actually when a gallery is accessible from site1.mynetwork.com this gallery is not accessible from site2.mynetwork.com.
    What can i do to access from every site at all my galleries ?

  11. HG says:

    Get major issues with nextgen gallery.

    otherwise ok, I hope most of you edited your php.ini file.

  12. Raven says:

    Well, i’m already with 128M and i think it’s a lot of memory too

  13. Rajeev Jha says:

    I believe this is pretty sneaky from wordpress team to change php.ini settings inside an application. I did a 3.2.1 install and saw my 256MB slice thrash – Just plain install (w/o plugins) and one post. I tried changing the MAX_MEMORY_LIMIT to 32MB/48MB but that also did not work. swap continued unabated.

    I switched back to 2.9.2 and everything is running happy on same 256MB slice. I can understand that loading more features may require more RAM but base install memory requirements should not change. Also, the fact that PHP settings are being tampered with should be highlighted in bold red on install.

Comments are closed.

%d bloggers like this: