WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error on image upload (out of memory) (6 posts)

  1. adjustreality
    Member
    Posted 3 years ago #

    Fatal error: Out of memory (allocated 32243712) (tried to allocate 4096 bytes) in /homepages/10/d258613186/htdocs/conceptgenius/wp-includes/media.php on line 999

    I get this error when I try to upload an image, I think it happened after that latest update of WP. any ideas?

  2. Jeremy Clark
    Moderator
    Posted 3 years ago #

    You might try adding this to your wp-config.php file.

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

    Source

  3. websiter
    Member
    Posted 3 years ago #

    I've seen a lot of posts on this subject that don't seem to have been resolved so I just have to share my experience with the issue.
    I noticed that it only happened with certain images so I checked and the images it was happening with, while small file sizes, were very high dimensions (2000px or more wide). All I had to do was decrease the image size to 1000px wide and it worked fine.

    So, as I've said, its not the image size its the image dimensions that is causing the error.

    One more thing i've noticed is that several people have said they were hosted with 1and1 and the website that I had the error with was also hosted on 1and1.

  4. Smicky
    Member
    Posted 3 years ago #

    All I had to do was decrease the image size to 1000px wide and it worked fine.

    That is what the issue was with me and I use 1and1 as well...when I made it smaller than 2000px it worked fine.

  5. Bloodofeve
    Member
    Posted 3 years ago #

    I'm so glad I found this thread I've sorted out the issue I was having by just changing an immage size from 1999px to 1500px the odd thing was it was only with the Modularity Lite theme I installed not with the Twenty Ten Theme.
    1and1 certainly do have some annoying issues, I've used them for over 10 years now with standard html sites and CMS without issues, until I've decided to help out a business friend with their wp site. Images are just one of the problems, I do hope that I don't have to alter every image to under 2000px just to load them.
    This will be an interesting ride!

  6. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    Just out of curiosity, why would you need a 2000px image?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.