Devel reveals that my pages are using about 29+M at devel_shutdown.
Php and Drupal have 64M allocated.
Cache is disabled.
On occasion, I get a blank page - mostly on admin pages. Doesn't seem to matter which page, all are subject to the occasional blank page. Sometimes the page loads correctly, other times it loads blank. Every time I get the blank page, I get the exact same message in my server logs.
[Wed Oct 03 18:29:00 2007] [error] [client 76.999.999.61] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 517085 bytes) in /home/virtual/site100/fst/var/www/html/sfn/modules/views/views_cache.inc on line 146
The error is always views_cache.inc on line 146.
As I proceed, the blank pages become more frequent. Finally, all I can get are blank pages. When this happens, I have to manually go to phpMyAdmin and empty cache_content and cache_filter to get the pages working again.
I would be happy to provide any additional diagnostic information that may be desired. This is very a very stubborn problem that is screwing up my site and I would really appreciate any help you can provide.
Thanks in advance - jarea
Comments
Comment #1
jarea commentedThis issue is open with very similar circumstances, most notably at http://drupal.org/node/147583 which refers to views_cache.inc 144 rather than 146.
There, KarenS suggests:
My first guess is that the tables array is being created and cached and it is too large because you have lots of modules enabled. Or maybe it's the size of the default views being cached. Those are just guesses, though.
That would certainly be applicable in my instance, as I have 44 modules activated.
The code block referred to in the error message is as follows:
The problem, like KarenS' guess seems to point to something going wrong while setting the cache.
Comment #2
sunThe only solution is to increase PHP's memory limit currently.
Also, you might want to test #218187: Views cache too large