Discuz! Database Error

(5) Out of memory (Needed 1491320 bytes)
select t.tid, t.subject, a.aid, COUNT(a.aid) as aids from forum_thread t LEFT JOIN forum_attachment a USING (tid) WHERE t.fid='2' and t.tid!='74220' and t.displayorder>='0' GROUP BY a.tid having(aids>='1') ORDER BY views desc LIMIT 3

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/comiis_imgshow/comiis_imgshow.inc.php34table_comiis->fetch_image_by_fid(%s, %s, %s, %s, %d)
3source/plugin/comiis_imgshow/table/table_comiis.php12discuz_database::fetch_all(%s, Array)
4source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php142db_driver_mysqli->query(%s, false, false)
6source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt(%s, %d, %s)
7source/class/db/db_driver_mysqli.php223break()
21tian.net 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.