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.

Archive /

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

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

Memory Error


Go to End


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