Warning: mysqli::query(): (HY000/5): Out of memory (Needed 2097124 bytes) in /var/www/P/class/db.class.php on line 43

Fatal error: Uncaught exception 'Exception' with message 'Out of memory (Needed 2097124 bytes)' in /var/www/P/class/db.class.php:50 Stack trace: #0 /var/www/P/common.php(638): db->r('select count(di...') #1 /var/www/P/p_gettovar.php(243): runRequest('select count(di...') #2 /var/www/tarelki.com.ua/www/cat.php(371): getTovarCount('rukavici-pekars...', Array) #3 {main} thrown in /var/www/P/class/db.class.php on line 50