[development] allowed memory size exhausted

Ashraf Amayreh mistknight at gmail.com
Fri Jan 14 11:19:14 UTC 2011


Hello all,

I've been working on this problem since two days without avail. I have a
Drupal site that, for some reason or the other, tries to allocate more than
300 MB of memory on request calls to not only the index.php, but to files
such as update.php. The server itself has three live sites and non of them
is experiencing any problems.

Also note that depending on which page I'm trying to access, I get a
different stack trace. And as you can see below, none of them are passing
through any custom modules... To get to the point, here's the error and the
stack trace to update.php (one of possible backtraces with same problem),
any hints or ideas are more than welcome.

[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP Fatal error:
Allowed memory size of 335544320 bytes exhausted (tried to allocate 22175001
bytes) in /var/www/abc/includes/database.mysql-common.inc on line 34
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP Stack trace:
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   1. {main}()
/var/www/abc/index.php:0
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   2.
drupal_not_found() /var/www/abc/index.php:24
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   3. theme()
/var/www/abc/includes/common.inc:391
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   4. init_theme()
/var/www/abc/includes/theme.inc:606
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   5. _init_theme()
/var/www/abc/includes/theme.inc:59
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   6.
_theme_load_registry() /var/www/abc/includes/theme.inc:179
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   7.
_theme_save_registry() /var/www/abc/includes/theme.inc:226
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   8. cache_set()
/var/www/abc/includes/theme.inc:235
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP   9. db_query()
/var/www/abc/includes/cache.inc:109
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  10. _db_query()
/var/www/abc/includes/database.mysql-common.inc:42
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  11. trigger_error()
/var/www/abc/includes/database.mysql.inc:136
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  12.
drupal_error_handler() /var/www/abc/includes/common.inc:0
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  13. watchdog()
/var/www/abc/includes/common.inc:663
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  14. module_invoke()
/var/www/abc/includes/bootstrap.inc:966
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  15.
call_user_func_array() /var/www/abc/includes/module.inc:462
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  16.
dblog_watchdog() /var/www/abc/includes/module.inc:0
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  17. db_query()
/var/www/abc/modules/dblog/dblog.module:147
[Fri Jan 14 11:02:21 2011] [error] [client 1.2.3.4] PHP  18. func_get_args()
/var/www/abc/includes/database.mysql-common.inc:34

-- 
Ashraf Amayreh
CEO | O-Minds
Cell. 962 78 8099997
Tel. 962 6 5655150
Fax. 962 6 5675150
Skype: aamayreh

www.o-minds.com
web development | web design
user experience | branding design

Connect with us on Twitter
http://twitter.com/ominds

Connect with us on LinkedIn
http://www.linkedin.com/in/aamayreh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110114/dc8b96b6/attachment.html 


More information about the development mailing list