WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Allowed memory size of 33554432 bytes exhausted

Fatal error: Allowed memory size of 33554432 bytes exhausted

  • Hello, I get the following dreadful error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 19712 bytes) in /f2/twaize/public/wp-includes/media.php on line 254

    I’ve googled about and tried everything I’ve found, editing wp-config.php, editing .htaccesss, creating a php.ini and editing cache.php; yet nothing helps with my problem.
    I’m using the latest wordpress (3.1.2), and still it won’t go away.
    Can anyone help me?
    Thank you 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • Don’t bump your posts. They’re not permitted.

    WHEN do you get that error? What are you doing?

    Also you said you edited the files. What did you set memory allocation to? You may not be able to control it in your php.ini and you may need to ask your host for help.

    And what plugins are you running? Did you try turning them off or changing to a different theme?

    Sorry, was just wondering whether that might be the case. I hadn’t found any other suggested solution, so maybe that was just it?

    Anyway, the error comes up when I try to upload a picture to my post (the picture in question is 4,3 MB), /wp-admin/post-new.php; I haven’t seen it in other places.
    I’ve tried setting the memory allocation to both 64 MB and 256 MB, neither works. I’ve asked my host but not received a reply yet.
    I’m running Akismet and Hello Dolly, doesn’t work with them off either.

    Thank you for your help so far

    Okay, have you asked your host about it? They may need to change the memory allocation for you on the server.

    Try to ask your hosting provider if they can increase the Memory Limit on your hosting package.. I assume you are on a shared hosting.

    TheOnlineCentral.com

    I’ve asked, but haven’t gotten a reply yet. It’s NearlyFreeSpeech, do you know whether or not it’s necessary with them?
    Thank you

    Not a clue. Ask ’em. You’ll find out 🙂

    NEVER be afraid to ask your webhost a question. You’re paying these guys YOUR money, remember 🙂

    I would install – http://wordpress.org/extend/plugins/wp-memory-usage/,

    this will at least let you know how much memory is available to you and how much memory you are using with WordPress.

    Uploading a 4.3Mb file will take a lot to process the image for the resizing, I would recommend shrinking your images down to a manageable size before uploading, and you will probably find that memory allocation errors will disappear.

    @mentalist3d
    I have 32 MB, so I guess it’s a host limit… Too bad.

    @ipstenu
    NearlyFreeSpeech is a bit different, it’s very… Spartan :P. There’s no free support, but the charge for using them is very low.
    While this is a nit annoying, I’ll just continue to host my pictures in other places.

    Thank you for your help (all 3 of you)

    You may want to consider a more Athenian server. Spartan’s fine when everything’s great. I’d rather pay a bit more a month to have someone remove my bacon from the fryer 😉

    Well, I can post small pics now and I host large pics elsewhere anyway… And you really can’t beat the prices with NFS, I pay 10 dollars and stay online for half a year :).
    But thank you for your support, it’s sad that my host is the limit.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Allowed memory size of 33554432 bytes exhausted’ is closed to new replies.
Skip to toolbar