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

Memory Issue with CMS


Go to End


2 Posts   1377 Views

Avatar
Talby

Community Member, 1 Post

5 July 2009 at 2:54am

Edited: 05/07/2009 3:21am

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

Community Member, 127 Posts

13 July 2009 at 3:48pm

Edited: 13/07/2009 3:50pm

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.