WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] After upgrade to 3.4. Fatal error: Out of memory

[Resolved] After upgrade to 3.4. Fatal error: Out of memory

  • publicradio
    Member

    @publicradio

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi
    Forum Moderator

    @esmi

    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.

    publicradio
    Member

    @publicradio

    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.

    esmi
    Forum Moderator

    @esmi

    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.

    publicradio
    Member

    @publicradio

    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.

    esmi
    Forum Moderator

    @esmi

    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.

    publicradio
    Member

    @publicradio

    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.

    esmi
    Forum Moderator

    @esmi

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] After upgrade to 3.4. Fatal error: Out of memory’ is closed to new replies.