Jump to:

23003 Posts in 11856 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Fatal error: Allowed memory size of 67108864 bytes exhausted

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 3586 Views
  • clintonf
    Avatar
    Community Member
    8 Posts

    Fatal error: Allowed memory size of 67108864 bytes exhausted Link to this post

    Hi does anyone have a solution to the following: I have read through other archives however the fix suggested there does not work....

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 194174 bytes) in /var/www/vhosts/puregaynz.com/httpdocs/sapphire/core/Requirements.php on line 630

    Hope someone can assist.

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: Fatal error: Allowed memory size of 67108864 bytes exhausted Link to this post

    You need to increase the memory allocation for PHP. How you do that depends on your hosting arrangements. here is a page describing the process for my host, Jumba

    cheers
    bruce

  • cuSSter
    Avatar
    Community Member
    56 Posts

    Re: Fatal error: Allowed memory size of 67108864 bytes exhausted Link to this post

    Hi,

    Hope this helps. In your php.ini file, find max_execution_time and set it to something bigger.

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Fatal error: Allowed memory size of 67108864 bytes exhausted Link to this post

    you could place...

    ini_set('memory_limit','1000M');

    ...in your _config.php if safe mode allows you, then you don't need to change server settings

  • martinlebel
    Avatar
    Community Member
    1 Post

    Re: Fatal error: Allowed memory size of 67108864 bytes exhausted Link to this post

    I was getting this error because I un-commented the following values in php.ini. to trouble shoot another http500 error

    Can someone can explain why uncommenting thoses value give me the
    "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/DEV/www-v4.1/ss/sapphire/core/Object.php on line 652"

    and

    "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /var/DEV/www-v4.1/ss/sapphire/core/model/DataObject.php on line 350" ?

    ; display_errors
    Default Value: On
    Development Value: On
    Production Value: Off

    ; display_startup_errors
    Default Value: Off
    Development Value: On
    Production Value: Off

    ; error_reporting
    Default Value: E_ALL & ~E_NOTICE
    Development Value: E_ALL | E_STRICT
    Production Value: E_ALL & ~E_DEPRECATED

    ; html_errors
    Default Value: On
    Development Value: On
    Production value: Off

    3586 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.