Closed (fixed)
Project:
Database Administration
Version:
4.7.x-1.2
Component:
MySQL Support
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2007 at 15:48 UTC
Updated:
14 Aug 2007 at 13:33 UTC
If I try to do the following query:
'select * from node_revisions where body LIKE "%http%"'
I get the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5120188 bytes) in /includes/form.inc on line 577
On a second server, I get a blank page. Searching for other terms seems to work, but anything like "http", including "http://" and "http:" all fail.
Comments
Comment #1
nig commentedI get similar. For me its, "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11152622 bytes) in /home/healhead/public_html/modules/dba/dba.module on line 263"
It is causing cron.php to not complete.
Any ideas?
Ng
Comment #2
gregglesYour queries are very "expensive" in server resources and are exhausting (using) all of the memory that php has allocated to your process.
The only two solution that I know is to limit your query somehow like using "limit 10" or another where condition OR allocating more memory to your php processes (which you may or may not be able to do - see http://drupal.org/node/76156 for more details on changing this value).