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.
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%:
http://open.silverstripe.com/ticket/1823 - slated for 2.2.1 at the moment
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!