View Full Version : Silverstripe
wwwjpit
01-12-2009, 10:10 AM
Hi,
First : Happy new year and all that jazz !
I would like to use Silverstripe on one of my websites as it is a nice CMS. I manged to install it and make it almost work. When I start adding modules, I get a message like :
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2 bytes) in /hosted/domains/b/a/......
Can I use ini_set to increase the memory ?
thanks
best regards
Jose
Victor01469
01-12-2009, 11:13 AM
This error indicates your script is attempting to consume more memory than is allocated to your account.
It is unlikely the administrators will allow you to exceed the limit set, but you can wait for one to reply.
Tyler
01-12-2009, 08:27 PM
Your script is trying to use over 64MB of memory at once, that is outrageous and will not be allowed. You should pick a new script.
wwwjpit
01-12-2009, 11:50 PM
Thanks,
What type of account do I need to have more memory ?
Thanks
Jose
Tyler
01-13-2009, 01:35 AM
You will not be able to host that script on our servers at all. For something like that you are going to need a dedicated server. It will probably cost you atleast $100 per month. If you do end up finding someone that will give you that much memory on a shared account then I wouldn't trust the host. That is a huge amount of memory for one user.
Think of it this way. If the server has 8 gigs of ram, giving each user a limit of about 102.4MB (just to use east numbers) you could only host 80 people on a server. You would really have to charge about $50 - $100 per user per month to break even after paying for the server. That just wouldn't work for a normal web host, because on top of breaking even on the purchase price and bandwidth fees you also have staff that has to get paid.
There are a ton of CMS systems out there, you should try to use another one that doesnt use as much memory.
Victor01469
01-13-2009, 02:42 AM
If it is mandatory that you host that script, you will need a VPS/Dedicated server.
The point here is that paying so much money to host such a script isn't worth it, especially when we all know that even with the proper amount of memory, the script will still run slow.
Note the speed of their very own demo: http://demo.silverstripe.com/
To be honest that script doesn't seem worth it in my opinion...
Looks like an ugly version of Wordpress. (Crazy how it uses that much memory though if it is just the script and nothing else that's using that.)
wwwjpit
01-13-2009, 08:46 AM
Hello,
Thanks all for your comments and thanks wwe for your offer!
I wonder if I have not done something wrong as Siverstripe (http://doc.silverstripe.com/doku.php?id=server-requirements) recommend 32mb. Besides the problem comes from from another module not from the core installation. I may try again with the latest release but t I think I may stay with Nucleus. It's only a blog software but id does the job very well.
Many thanks
Jose
UnlimitedMB
01-13-2009, 07:21 PM
Also note that the memory limit will be reduced back to the normal 32MB as soon as the random "out of memory" bug is fixed.
wwwjpit
01-14-2009, 08:51 AM
Hi,
I was not aware of that bug. I thought also that the memory was 32MB in the past but I thought I may had it wrong. If that can help, I noticed that it often happens when scripts are accessing mysql. May be related.
Installation was fine but I have some random memory errors when accessing some admin pages. I may wait until you guys have fixed the bug and try again then.
Also why we do not have mcrypt enabled ?
Thanks
Jose
Tyler
01-14-2009, 06:59 PM
Mcrypt is not "widely supported" in fact its very rare, its a non-standard module.
It will not be enabled.
Use RC4 encryption there is a free php code to do this.
UnlimitedMB
01-15-2009, 03:48 AM
Mcrypt/openssl has regular security issues.
Its not safe for use in a shared server.
wwwjpit
01-15-2009, 08:45 AM
many thanks
you may close that thread if you wish .
regards
Jose
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.