On my prototype at home, I upgraded from RC-3 to RC-4. All went well.
But now when I access most (though not all) nodes, I receive the following error message:
user warning: Out of memory; restart server and try again (needed 65528 bytes) query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 18 GROUP BY c.cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, u.picture, c.homepage, u.uid, u.name, u.picture, u.data, c.score, c.users, c.thread, c.status LIMIT 0, 50 in C:\Program Files\xampp\htdocs\drupal-4.7.0-rc4\includes\database.mysql.inc on line 120.
Apart from the error message, the pages load normally.
Stopping and restarting MySql had no effect.
I am running Apache 2.2.0 (win-32), MySql 5.0.18, and PHP 5.1.1.
Comments
Comment #1
introfini commentedI'm having the same issue.
Warning: Out of memory; restart server and try again (needed 65528 bytes) query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 122 GROUP BY c.cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, u.picture, c.homepage, u.uid, u.name, u.picture, u.data, c.score, c.users, c.thread, c.status LIMIT 0, 10 in D:\Sites\onc.pt\includes\database.mysql.inc on line 120introfini
Comment #2
jchapel@wecancolorado.org commentedGetting identical results with the new Drupal 4.7.0 release
server running Apache 2.2.0 (win-32), MySql 5.0.18, and PHP 5.1.1
and a sever running Apache 2.0.55 (win-32), MySQL 5.0.15, and PHP 5.0.5
Comment #3
theque commentedSame error on mysql 4.1.xx (win32)
Mysql 5.0.19(win32) executes this query without any errors
Comment #4
theque commentedNot a Drupal problem!
Solution:
Edit your mysql settings file my.ini / my.cnf and set sort buffer size to 128k or 256k
[quote]sort_buffer_size = 256K[/quote]
Comment #5
Anonymous (not verified) commentedThank you, theque. That does it.
Comment #6
(not verified) commented