Silverstripe have made great improvements in the memory consumption in version 2.4 but the admin area can still get the frustrating error message.
Fatal error: Allowed memory size of 268435456 bytes exhausted
There are a few options to fix the issue:
- In mysite/_config.php – Add ini_set(“memory_limit“, “64M”)
- In .htaccess – Add php_value memory_limit 64M
Personally, I have found the 2nd option to be the best and most reliable throughout the website.
Some shared hosts lock down the options to increase memory limits so some digging around the support docs might be required if the above don’t work.






