Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266270869 bytes) in /home/bitrix/www/bitrix/modules/security/classes/general/redirect.php on line 247 Call Stack: 0.0002 232904 1. {main}() /home/bitrix/www/bitrix/urlrewrite.php:0 0.0003 233784 2. include_once('/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php') /home/bitrix/www/bitrix/urlrewrite.php:11 0.0016 446624 3. include_once('/home/bitrix/www/catalog/index.php') /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 4.6701 151141736 4. require('/home/bitrix/www/bitrix/footer.php') /home/bitrix/www/catalog/index.php:1412 4.6701 151142176 5. require_once('/home/bitrix/www/bitrix/modules/main/include/epilog.php') /home/bitrix/www/bitrix/footer.php:4 4.6893 151558272 6. require('/home/bitrix/www/bitrix/modules/main/include/epilog_after.php') /home/bitrix/www/bitrix/modules/main/include/epilog.php:3 4.6903 151595160 7. CAllMain->EndBufferContentMan() /home/bitrix/www/bitrix/modules/main/include/epilog_after.php:36 4.9497 151589288 8. CAllMain->EndBufferContent() /home/bitrix/www/bitrix/modules/main/classes/general/main.php:3138 5.0212 284916744 9. ExecuteModuleEventEx() /home/bitrix/www/bitrix/modules/main/classes/general/main.php:3190 5.0215 284922608 10. call_user_func_array:{/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490}() /home/bitrix/www/bitrix/modules/main/classes/general/module.php:490 5.0215 284922992 11. CSecurityRedirect::EndBufferContent() /home/bitrix/www/bitrix/modules/main/classes/general/module.php:490 5.1290 418059608 12. preg_replace_callback() /home/bitrix/www/bitrix/modules/security/classes/general/redirect.php:247