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

File manager memory error


Go to End


3 Posts   1166 Views

Avatar
codemonkey88

Community Member, 24 Posts

5 June 2013 at 8:50pm

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

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

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?

Avatar
swaiba

Forum Moderator, 1899 Posts

5 June 2013 at 8:56pm

Hi,

[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.

Avatar
codemonkey88

Community Member, 24 Posts

5 June 2013 at 9:29pm

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.