ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Fatal Error: Out of Memory

July 09, 2009 1:03pm

Subscribe [2]
  • #1 / Jul 09, 2009 1:03pm

    Girlyshoes

    91 posts

    My blog was working fine until about an hour and a half ago, at which time this appeared:

    Fatal error: Out of memory (allocated 45613056) (tried to allocate 44 bytes) in /**redacted**/db/db.mysql.php on line 411

    When I called my hosting company, they told me that the scripts in my blog were taking too much memory and I needed to buy dedicated hosting. o_0… So I called back and got a better tech support guy, who went in and changed the memory allotment, and THEN told me that my scripts are calling too much memory and I need to disable some modules and/or buy dedicated hosting. WTF????? This whole thing has been working perfectly for years. Last night I added a twitter feed to my sidebar, and the first thing I did when I got this error message was to delete that.

    HELP ME!!!!!!!!!!!!!!!!! I’m freaking out here.

  • #2 / Jul 09, 2009 1:34pm

    Ingmar

    29245 posts

    Is there a reason you are posting this in EE Core? Seeing as you do have a license.

  • #3 / Jul 09, 2009 1:40pm

    Girlyshoes

    91 posts

    Because I can’t find the tech support? Want to point me in the right direction?

  • #4 / Jul 09, 2009 1:42pm

    Ingmar

    29245 posts

    I’ll do more than that, I’ll move it for you.

  • #5 / Jul 09, 2009 1:45pm

    Girlyshoes

    91 posts

    To where?

  • #6 / Jul 09, 2009 3:59pm

    Ingmar

    29245 posts

    Right here: all support is handled in the “Tech Support” forums. So, back to your initial error message:

    Fatal error: Out of memory (allocated 45613056) 
    (tried to allocate 44 bytes) in /**redacted**/db/db.mysql.php on line 411

    I am afraid it’s rather obvious: EE (PHP really) is running out of money. It has ~44 MB to work with, and that’s not sufficient, if only by a very small amount, 44 bytes in this case. You definitely won’t need dedicated hosting just for that, but you will need more RAM. 64 MB should be standard on all but the most budget hosts these days.

  • #7 / Jul 09, 2009 4:03pm

    Girlyshoes

    91 posts

    It was increased by my host to 64MB, and I’m still getting that error message.

    And back to the original question. WHY the sudden fail? It was working last night. It was working at 10 this morning. It crashed at 10:15 and gives a pretty wide open error message to the world.

    Must I remove modules and plug-ins? What is going on?

  • #8 / Jul 09, 2009 4:08pm

    Ingmar

    29245 posts

    Still the same numbers? 45613056 bytes are 43.5 MB, not 64. Why the fail? I suspect that you’ve always been close to the limit. Any little thing can require a bit more RAM, be it freshly installed plugins, another comment, or an image added to your entry.

  • #9 / Jul 09, 2009 4:16pm

    Girlyshoes

    91 posts

    This is the error message after shutting down my browser and hitting my site again:

    Fatal error: Out of memory (allocated 45613056) (tried to allocate 44 bytes) in /home/mizshoes/public_html/HAL/DAVE/db/db.mysql.php on line 411

    Host Gator swears that they set my limit to 64MB. At about 11 this morning.

  • #10 / Jul 09, 2009 4:20pm

    Ingmar

    29245 posts

    Can you still access the control panel? The site shows this error, I suppose? Do you or does your host have a recent backup of your database? Also, what version and build are you on?

  • #11 / Jul 09, 2009 4:25pm

    Girlyshoes

    91 posts

    Yes, I can. Yes, it does (the blog only). I’m sure that the host has a recent backup of the database. And I’m on 1.67 build 2009211

    And I have Fox-EE cart installed. The latest build.

  • #12 / Jul 09, 2009 4:29pm

    Ingmar

    29245 posts

    My suggestion would be to log in to the backend, disable all extensions for now (globally, using the big green button), then upgrade to the latest build. In “Utilities” there’s phpinfo: can you take a look to see how much RAM PHP reports?

  • #13 / Jul 09, 2009 4:34pm

    Girlyshoes

    91 posts

    64 MG. I’m about to upgrade to the latest build.

  • #14 / Jul 09, 2009 4:36pm

    Ingmar

    29245 posts

    Don’t forget to disable extensions. If that doesn’t do it, roll back your db to a pre-crash state.

  • #15 / Jul 09, 2009 4:46pm

    Girlyshoes

    91 posts

    Or not. There seems to be a password missing. Probably the one that was reset in the early hours of this nightmare and that I tossed out before writing it down or changing it to something I could memorize. There is not enough alcohol in the world. There just isn’t.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases