Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Memory Limit and SilverStripe 2.2.0-rc3

Go to End

4 Posts   13441 Views


Community Member, 153 Posts

24 November 2007 at 3:33pm


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.




121 Posts

25 November 2007 at 11:33am

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.


Forum Moderator, 801 Posts

26 November 2007 at 8:09am

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%: - slated for 2.2.1 at the moment


Community Member, 153 Posts

26 November 2007 at 11:46am


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!