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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Out of Memory Issues


Go to End


3 Posts   610 Views

Avatar
Cameron B.

Community Member, 3 Posts

7 February 2017 at 12:22pm

Edited: 07/02/2017 12:24pm

I'm currently getting this error when visiting any page of the site. The site has been installed quite some time, and my memory_limit is set to 256M.

`Fatal error: Out of memory (allocated 240648192) (tried to allocate 130968 bytes) in /.../.../.../.../html/framework/dev/Deprecation.php on line 83`

Avatar
martimiz

Forum Moderator, 1391 Posts

8 February 2017 at 1:48am

Edited: 08/02/2017 1:49am

Could it be your hosting provider upgraded to a new version of PHP? I had that happen a few times, and solved it by emptying the silverstripe-cache directory. Don't know if you're using that folder anyway and what upgrading PHP would do to the tmp directory where the cache would then be stored, but in that case you could try adding the folder and make it writable...

Avatar
Cameron B.

Community Member, 3 Posts

8 February 2017 at 9:20am

Yep, that was it! Thank you for your time and help.