Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /home/bitrix/www/bitrix/modules/main/classes/mysql/database_mysqli.php on line 47

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/bitrix/www/bitrix/modules/main/lib/loader.php on line 313