0
Welcome Guest! Login
0 items Join Now

Oh Dear.."Fatal error: Allowed memory size of"....

  • Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 15 years 2 weeks ago
    • Greetings!
      I Installed the full Iridium package, virtuemart and got the home page to show 5 rockstories
      I had setup....so far a working site, no problem

      I installed k2 and to do so I changed file permissions
      K2 installed with no errors, site working fine
      Checked the site was working for 10 min or so...virtuemart showing what it was supposed to...the rockstories was showing the stories I had set it to show...all good...so I started to restore file permissions back to "safe" (644 and 755)
      While I was changing the file permissions back I refreshed the home page (I have no idea why!) and got the "Fatal error: Allowed memory size of" error message on a blank page....Oh Dear

      I finished the file permissions and double checked all directories...files set to 644 and directories to 755 BTW....
      I created a htaccess file with the commands "php_value memory_limit 200M"
      I edited the file starting at 64meg and , as you can see, stopped at 200meg

      What ever the amount I enter in the htaccess I still get the error message that its not enough
      "Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 15 bytes) in /mounted-storage/home26b/sub001/sc23348-ZMVF/*******/libraries/joomla/error/exception.php on line 117"

      This is (was) a working site....installing something did not make it fall over, refreshing the home page before all file permissions were correct did it

      Suggestions Please :)

      Marcus
      TIA of course
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 15 years 2 weeks ago
    • drupal.org/node/207036

      200 megs is a lot so maybe one of the scripts has a memory leak. Maybe a server admin can have a look at this.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
    • I rebuilt the site somewhere else
      Now I have time to sort this out
      URL is www.ringmaster.co.za/

      Please go look and offer suggestions
      Thank you

      M
  • Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
    • May I have a response please
  • Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
  • Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
    • do not pass the buck....
      this is a problem with a rocket theme template

      please make an effort
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
    • RingMaster wrote:
      do not pass the buck....
      this is a problem with a rocket theme template

      please make an effort
      hi there,

      sorry to hear about your issues, but i am not sure you are right about this being a rockettheme template issue.

      the same error seems to show up when i try to view your site with the default rhuk_milkyway template by going to www.ringmaster.co.za/?template=rhuk_milkyway

      so maybe you can check with your host as prim and aman already suggested.

      you could also try to disable 4 of your 5 rokstories, rokstories is not really designed to be used multiple times on the same page. (no problem with having 1 rokstories each on different pages of your site though)

      kat :)
    • Kat05 / QA Lead & Support / Germany
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 9 months ago
    • RingMaster wrote:
      do not pass the buck....
      this is a problem with a rocket theme template

      please make an effort

      That is not exactly a tone that will encourage others to desire to help you in your time of need. Having said that please take a look at this: drupal.org/node/283579
      Depending on the amount of modules you have enabled and their 'impact' on the site you may need to increase the memory_limit even more (sometimes to 30 MB or more). Experiment with what memory value works for your needs.

      You appear to be on shared hosting server at servage.net and if that is the case, you will almost always find that they have overrides in place that make such modifications using .htaccess ineffective.

      If you have let this problem drag on since April 8th (now July 21) without talking with your host about their limitations for shared hosting, then all we can do is scratch our heads.

      Our desire at RT is to help all members achieve excellence in web implementation, however we cannot do anything about refusal to take solid proven advice.

      1. talk to your host about limitations in place
      2. reduce the number of modules running scripts per page (as Drupal advises)
      3. Smile life is so much easier (No BETTER) when we work together in a spirit of joy. Especially when dealing with crises no matter the severity.
      :cheesy:
    • Chana's Avatar
    • Chana
    • Rocketeer
    • Posts: 70
    • Thanks: 0

    Re: Oh Dear.."Fatal error: Allowed memory size of"....

    Posted 14 years 6 months ago
    • You may also want to look at the local_memory value in your site's php.ini file. This file can be altered to give you a slight memory boost. You can change this value to be whatever you wish - essentially you are telling PHP that you want it to ignore the memory limits of the server.

      Now - if you are on shared hosting, this will only take you so far. The hosting provider is not going to allow you to use all of the server memory they have in place - there are other sites that need that server's memory, as well.

      Still, this can be a temporary fix. I have set this limit to as high as 1GB. he file needs to be in the root of the directory of your installation. If you are on a VPS, you can put it at the server root, where it will affect all installations.

      All that said, Drupal does NOT do well in a shared hosting environment. I highly recommend moving it to a VPS (at least) as soon as you can. You will find that being able to manage its resources (and not compete with other sites' needs) - to be a necessity over time.

      Other things you can do are - if you are using admin_theme, is to collapse the fieldsets under site configuration-administration menu. Accessing the site building-modules page is one of the most CPU-intensive actions you can take in Drupal, since doing so rebuilds the menu router system. Try not to enable too many modules at one time, as well. That can help.

      Best wishes to you...

      Chana

Time to create page: 0.071 seconds