hi,
im currently working on a site on a 1and1 server. when activating location module, it said "out of memory" ... i changed the settings.php (memory limit to 512) and it works. then i wanted to activate gmap module and again: out of memory!
phpinfo says i have 80M, drupal status says 512M like i told in the settings.php
so i would like to change the server and my question is:
how much memory do i need for a complex site?
how much is enough to install all available modules? :)
thanks a lot for your answer!
[edit]
i copied the whole page on another server and gmap works! so whats the difference?
here the phpinfo:
doesnt works: http://tinyurl.com/3u9w487
works: http://tinyurl.com/3bw4ebz
the site which works has 50M, the site which is alway out of memory has 90M
Comments
The only way to know this is
The only way to know this is by testing. If you see error with 80M, then increase it to 128MB.
You should follow phpinfo to know your current configuration.
Anytime, you set memory limit to be 128MB, you should think about why you need that much
128M is not unnormal
With a dozen or so modules, needing 128M during development is not UN-normal.
I have the same issues with 1&1.com
I kept getting out of memory errors with 1&1.com also, and with technical support tracked it back to the hard coded limit 1&1.com has on shared hosting - 30MB. No matter what you put in the php.ini or .htaccess files, you have a 30MB limit on the shared host. The 1&1 Tech Support said my only option is to switch to a VPS.
My site locked up hard, and I had to manually delete several modules to get it back. Now whenever I create a new view, it locks up in the save and the view is broken. I have to back out and delete the view. The strange thing is I didn't have this problem under Drupal 6, only after switching to Drupal 7 (fresh install and recreated everything from scratch).
So now I am looking for a new webhost. I am not doing anything fancy with my site, no e-commerce, just one banner, GMap, and several views. Any advice? Here are the hosts I am looking at (must be located in USA):
Hot Drupal
GoDaddy
HostGator
Thanks
Avoid "unlimited"
I've not used any of those hosts, so I can't advise from experience.
However one piece of advice I would pass on is to avoid hosts who claim to offer unlimited space or unlimited bandwidth. Everything has a limit. Hosts who claim not to limit your diskspace tend to limit it you in other ways instead, and often those limits turn out to be more restrictive. You should be able to work out from your 1and1 control panel how much space you actually use. Find a host who can deliver on that.
Most hosts offer a money-back period. Make sure it's at least 2 weeks so you have time to move your site across and test it. By the sounds of it you'll find out soon enough if things are no better. And make sure it's a no-questions asked refund, not a "if we think your reason is good enough" job. I'd also sign up monthly, if I were you, and only look to save money by paying annually once you know things are going well.
Last tip: Always test the support of any prospective new host by sending their sales dept an e-mail before signing up. You learn a lot from how professionally they respond, from whether they answer your exact questions, from whether you can understand the answer, and so on.
This signature is currently blank
PHP.ini
Hello,
I had the same issue with my previous server provider and I changed to Bluehost. They have the PHP.ini file set to 128mb and you can manually adjust that upwards if needed. I've had to do that a couple of times.
M
That depends on your sites
That depends on your sites traffic and contents. A 128M will be okay for a moderate traffic site.