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 = '9ae99c77116602675c9b5198344580ac'

[TEP STOP]