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.


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

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

Not stable with 248 pages


6 Posts   2088 Views


21 December 2007 at 12:25am (Last edited: 21 December 2007 7:01am), 8 Posts

I have a site with 248 pages, well it's hopefully going to get a lot bigger over time, I am using silverstripe-v2.2.1-rc2 and get the following error when going to the admin area after using the batch tool to publish all my pages.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 233472 bytes) in /var/www/vhosts/ on line 330

The front end of the site works fine.

Anyone got any ideas about how I can fix this? I could do with getting back into the site admin area.

Update: I have just tried a server restart and same problem.


24 December 2007 at 12:01pm 8 Posts

Anyone got anyideas how i can fix this?

Need to make some changes to site thought about doing though sql but decided agasint that to be safe...


24 December 2007 at 12:50pm Community Member, 501 Posts

Raise the memory limit?


24 December 2007 at 11:19pm 8 Posts

I maybe stupid but how would i do that?


24 December 2007 at 11:26pm Community Member, 501 Posts

Put this in your .htaccess file:

php_value memory_limit 100M

of course you replace the 100 with whatever value you'd like to use.


24 December 2007 at 11:28pm 8 Posts

Cheers :)

Takes a long time to load but once loaded works fine :)