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.

General Questions

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

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

File manager memory error


3 Posts   374 Views


5 June 2013 at 8:50pm Community Member, 13 Posts

The file manager isn't loading and shows the following error;

Fatal error: Out of memory (allocated 56098816) (tried to allocate 17152 bytes) in /framework/filesystem/GD.php on line 32

I've had a look on the forums, and the closest I could find was someone saying they had trouble saving pages. They managed to fix it by setting a memory rule in htaccess, but I get a 500 error when I try this.

Is there anything I can do, or is it one for the hosting guys?


5 June 2013 at 8:56pm Forum Moderator, 1796 Posts


[i/framework/filesystem/GD.php on line 32

GD is the graphics library and it is more than likely that it is a problem with the image itself. I've had this when there are either really really large images being turned into thumbnails, or when the uploaded image is corrupt itself.


5 June 2013 at 9:29pm Community Member, 13 Posts

Great, thanks.

Is there any way you can set file validation for the file manager without making your own extention? The documentation seems a bit vauge on this front.