Fatal error: Allowed memory size of 67108864 bytes exhausted

Silverstripe Version:

Question:

Hi! Can somebody help us fix this regarding our website?

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home2/bismacco/public_html/framework/core/Config.php on line 479

Details of your query go here

// Include any relevant code. If you have a lot of code, link to a gist instead.

Hello,

Pretty much impossible to help you fix it from such limited information, but the error message does tell you the underlying problem.

It says that the web server process is running out of memory when trying to handle the request. It’s often associated with doing image manipulations and other memory-intensive operations, but could be other things as well.

Given the size of the allowed memory, it may be that your server configuration is a bit conservative, and you just need to give PHP some more memory to play with.

The rest of the error message should tell you what the site was trying to do when it ran out of memory. If you’re seeing messages about Intervention or Assets, then it’s likely it was doing image manipulation. If that’s the case, you can try increasing the allowed memory, or resizing images to a smaller size before you upload them.

Lots of assumptions in my reply, but they might give you a start.

It is worth noting that the directory structure (framework/core/Config.php directly inside the public folder) suggests this is an old Silverstripe 3 installation that requires a completely outdated infrastructure to run.