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 = 'd39f0db37acc71b8174d553d7a8258c1'

[TEP STOP]