Support » Fixing WordPress » Memory Limit Problem

  • OK, this problem crops up quite a bit in the forums but I’m still pretty perplexed as to why it’s affected me.

    My site has been live for a few months and has been working well up ’til now. When I attempt to upload an image to a post (1MB in size) I receive the following error when WordPress attempts to “crunch” the image:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3072 bytes) in /home/serge870/public_html/wp-includes/media.php on line 254

    Obviously indicating that memory limit has been exceeded. How is this possible? The image is only 1MB in size so shouldn’t take very much memory to resize/process.

    I have tried re-installing WordPress with no success. I am running the following plugins which have been installed since site launch with no problems:

    • Akismet
    • Contact Form 7
    • Status Updater
    • Twitter Widget Pro
    • wp-jquery-lightbox
    • WP e-Commerce

    Might it be some sort of caching issue as it’s the first time it’s happened for months? Any way to clear the cache?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Any ideas about this?

    I have requested my host increase my memory limit from 64Mb to 128MB to hopefully solve the problem. They have refused initially but I’ve written back to them in the hope that they will reconsider.

    I mean, it’s not like anything massively intensive is going on!

    Try installing this plugin to see what you’re memory usage is.

    If you’re memory usage looks fine, try deactivating one plugin at a time, testing after each has been deactivated to see if you can isolate a plugin issue. Maybe a plugin update is causing the issue.

    Hmmm, no major issues with plugins just my host being stingy with memory. Reducing image size down to 1024px wide before upload solved it but probably unable to upload hi-res (~3000px wide)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Memory Limit Problem’ is closed to new replies.