I am getting the following error when trying to log into my site. The view for anonymous doesn't seem to have any problems. When I log in I get:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in (..)/public_html/home/d5/modules/views/modules/views_upload.inc on line 177

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2606 bytes) in (..)/public_html/home/d5/includes/database.inc on line 192

See http://yoganexus.com/home/d5/ for home page prior to loggin in. This seems to work fine. I have written the host and they replied:

"FROM HOST TECH SUPPORT:
I have restarted apache to correct this problem. For some reason that drupal module has issues, overtime the script will take up more and more memory until it reaches the limits we have set for the server, causing this error."

Is this happening at other hosts for anyone? Any help is welcome.. My site is down for my most important users.
Thanks.

Comments

vm’s picture

How many views are you using that you are using up 32MB of memory ?

what version of views are you using ?

seanberto’s picture

I'm skeptical of most hosting companies when it comes to issues like this. This fall, I went around and around with a hosting company that was telling me my scripts were causing CPU overloads, etc. I have hosting accounts with a couple of companies for a couple of clients - so I moved the same app to a new host, no problems...Not that that's necessarily what's going on here.

Could it not be an issue with views in and of itself, but the combination of all the modues you have running? Could views just be the straw that broke the camel's back? For example, do you have a WYSIWYG that only logged in users can see?

Do you have caching installed? Are non-authenticated users seeing cached pages rather than requiring PHP to generate content?

I've "whitescreened" a 4.7 Drupal site with a front page that panels generated using 3 different views querieis, but that was with a 16M php memory limit. I upped it to 32M and had no more problems.

-s

Sean Larkin

ray007’s picture

The required memory depends on the modules in use.
So you can either deactivate some modules to reduce the memory requirements, or get your hosting provider to increase the memory settings for php ...

--
best regards
    Ray
----------------------------------------------------------
If you need a drupal developer contact me!