1041 - Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space

select specials_id from specials where status = '1' and now() >= expires_date and expires_date > 0

[TEP STOP]

1041 - Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space

select count(*) as total from sessions where sesskey = 'd504e0b9739c05b160f27c989b092317'

[TEP STOP]