Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Memory Limit and SilverStripe 2.2.0-rc3

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 13167 Views
  • gakenny
    Avatar
    Community Member
    153 Posts

    Memory Limit and SilverStripe 2.2.0-rc3 Link to this post

    Hello,

    Has the required memory limit increased with this new version of SilverStripe?

    I get the following error when accessing the assets page in the admin area:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 311296 bytes) in /home/XXXX/public_html/sapphire/lang/en_US.php on line 330

    And a similar error when tring to flush the site cache.

    I believe that some shared hosts will not increase the memory limit beyond 32M.

    Cheers,

    Gary

  • jam13
    Avatar
    121 Posts

    Re: Memory Limit and SilverStripe 2.2.0-rc3 Link to this post

    I've had to up the limit to 64Mb on our servers as the installer failed on 32Mb (trying to allocate 48Mb). Does seem to be a big jump from earlier requirements.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Memory Limit and SilverStripe 2.2.0-rc3 Link to this post

    The memory-requirements rise constantly with every new class/php-file introduced to the silverstripe framework (they are all included by the ManifestBuilder). its entirely possible that we just cracked the 32M limit - which unfortunately will limit the functionality of many shared hosting environment out there.

    we're got a patch in the pipeline (thanks wakeless!) which reduces usage by roughly 50%:
    http://open.silverstripe.com/ticket/1823 - slated for 2.2.1 at the moment

  • gakenny
    Avatar
    Community Member
    153 Posts

    Re: Memory Limit and SilverStripe 2.2.0-rc3 Link to this post

    Hi,

    I have increased the memory limit to 64M but I am not sure my host will allow this for too long. Do you think that the extra memory requirements are 'essential'? I do know that other tools manage to site nicely under 12M. Look forward to that patch coming through!

    Cheers,

    Gary

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