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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Memory Error


Go to End


1181 Views

Avatar
gladdeng

Community Member, 1 Post

11 January 2008 at 4:35pm

Edited: 11/01/2008 4:48pm

After having my site up for about a week and a half, I got this following message.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87 bytes) in /sapphire/forms/LabelledLiteralField.php on line 5

I reset the memory limit in the php.ini file to 96m, and added the following line to sapphire/main.php

ini_set('memory_limit', '32M');

Anything I am missing here? I flushed, but got the same error back time after time.

Any help would simply be awesome.