Jump to:

546 Posts in 2198 Topics by 237 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Fatal error

What you need to consider when choosing a hosting provider and plan.

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

Page: 1
Go to End
Author Topic: 2178 Views
  • Beck
    Avatar
    Community Member
    23 Posts

    Fatal error Link to this post

    Hi everyony!

    what that mean:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home/robouz/public_html/sapphire/thirdparty/jsmin/JSMin.php on line 79

    what should i do? thanks in advance

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Fatal error Link to this post

    That means, PHP ran out of memory.
    You can increase the memory by changing the memory_limit config parameter: http://php.net/manual/en/ini.core.php#ini.memory-limit

  • Beck
    Avatar
    Community Member
    23 Posts

    Re: Fatal error Link to this post

    i aded "memory_limit = 128M" in "php.ini" but anyway i can't enter to admin panel.

    please tell me what should i do?

    always the same error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 73 bytes) in /home/robouz/public_html/sapphire/thirdparty/jsmin/JSMin.php on line 139

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Fatal error Link to this post

    Have you restarted php / apache? You will need to do this to update your memory limit (33554432 is still 32mb)

  • damsel
    Avatar
    Community Member
    8 Posts

    Re: Fatal error Link to this post

    My installation has been running along happily for almost two years now, no problem, and all of a sudden I'm getting this error. Since it has always run under 32mb, I don't understand how it can suddenly need more. Is there a fix other than increasing the memory? The max I get through the host is 32.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Fatal error Link to this post

    Memory can increase naturally quite easily. Every publish and save in the CMS saves the changes to the database, every extra page or page comment adds a bit of override.

    What you can do to try and speed it up is to login to your database management tool (most hosts will give you phpmyadmin access) and 'Empty' the SiteTree_Versions table - and any other version tables which you have that you no longer need.

    Long term though, I would look to get a new host then. Really you don't want to be running SS with less then 64mb php memory.

  • damsel
    Avatar
    Community Member
    8 Posts

    Re: Fatal error Link to this post

    Thanks! That did help.......I am able to login to the admin area now (the rest of the site worked perfectly, it was only when I tried to login to the admin area that I had the memory issue).

    Thank you for your help

    2178 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.