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

Memory Issue with CMS


Reply

2 Posts   1018 Views

Avatar
Talby

5 July 2009 at 2:54am (Last edited: 5 July 2009 3:21am), Community Member, 1 Post

Hello,

our site is hosted on a server with 32MB RAM. Sadly, this limit is reached by now: when loading the CMS, i get an out of memory error. I have read in the forums, that this might have to do something with the large sitetree (we have quite a few subpages ... maybe 200). Is there anything i can do to load the cms, without deleting data or upgrading RAM (both are not really an option here)?

The really strange thing is that when i log in as an admin, it still works, but when i log in with another account i created (the account the editor should use to create his subpages) the error appears every time. So i begin to think, that it might be someting completly different.

EDIT: btw, phpinfo() tells me, that i have 128MB limit for scripts, so it probably isn't that

Any suggestions welcome!

Avatar
Kalileo

13 July 2009 at 3:48pm (Last edited: 13 July 2009 3:50pm), Community Member, 127 Posts

Do you want to say that your server has only 32 MB Ram???

If not, then all you need to do is to allow PHP to use more memory, set it in your server's php.ini, or, if you have no access to it, add the line
php_value memory_limit 64M
to the .htaccess file in your webroot.