WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] After upgrade to 3.4. Fatal error: Out of memory (8 posts)

  1. publicradio
    Member
    Posted 2 years ago #

    This happened on two separate installations. Large-ish image uploads don't work anymore, and I can't backup my db using a db backup plugin.

    Both installations are running multisite. I deactivated and re-activated all plugins on both. I checked both to make sure the memory limit was set in wp-config (it is). There are php.ini files in /wp-admin. On one, I deleted wp-admin and wp-includes entirely and uploaded a fresh install.

    At first I didn't think it was necessarily related to the upgrade, until the exact same thing happened on another installation. I haven't seen this issue reported here yet. Thank you for any help you may have

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Can you define "large-ish images"? I suspect that you simply running out of PHP memory as WP 3.4 increased memory usage by about 1 meg. If you were running close to your limits with 3.3, then 3.4 could have pushed you over it. You can either reduce the size of the images you are uploading or try increasing the memory available to PHP.

  3. publicradio
    Member
    Posted 2 years ago #

    2.3MB seemed to be the limit I can upload with no errors. I increased the limit via htaccess and this fixed the problem for one of my installations. It didn't work for the other, so I upgraded my hosting plan. Thanks for your help.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Personally, I rarely (if ever) upload an image file larger than 1M. I don't see the point of larger images on a web site.

  5. publicradio
    Member
    Posted 2 years ago #

    You know what, I was wrong. It didn't work.

    I agree with you about large images but sometimes I need to upload audio and that does need to be bigger than 1mb.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Audio file uploads shouldn't be a problem as WP doesn't need to process them. It's the large images specifically that create issues as WP does process images and, the large they are, the more PHP memory this processing consumes.

  7. publicradio
    Member
    Posted 2 years ago #

    phpinfo reveals my memory limit to be 128mb, which is where I set it. I should have more than enough memory and yet I still get this error.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Then all I can suggest is that you upload smaller image. As I said, other uploads won't be affected. Just images.

Topic Closed

This topic has been closed to new replies.

About this Topic