( ! ) Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35996008 bytes) in /home/bitrix/et48.ru/bitrix/modules/twofingers.location/lib/service/sxgeo.php on line 107
Call Stack
#TimeMemoryFunctionLocation
10.0000454448{main}( ).../urlrewrite.php:0
20.0000455216include_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/urlrewrite.php ).../urlrewrite.php:2
30.0006682536include_once( '/home/bitrix/et48.ru/catalog/index.php ).../urlrewrite.php:128
40.0006682872require( '/home/bitrix/et48.ru/bitrix/header.php ).../index.php:2
50.0006683280require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/prolog.php ).../header.php:2
60.0006683632require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/prolog_before.php ).../prolog.php:10
70.0006691688require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include.php ).../prolog_before.php:19
80.03292586056ExecuteModuleEventEx( $arEvent = ['SORT' => 100, 'TO_MODULE_ID' => 'twofingers.location', 'TO_PATH' => '', 'TO_CLASS' => '\\TwoFingersLocation', 'TO_METHOD' => 'onBeforePrologHandler', 'TO_METHOD_ARG' => [], 'VERSION' => '2', 'TO_NAME' => '\\TwoFingersLocation::onBeforePrologHandler (twofingers.location)', 'FROM_DB' => TRUE, 'FROM_MODULE_ID' => 'main', 'MESSAGE_ID' => 'OnBeforeProlog'], $arParams = ??? ).../include.php:519
90.03973120112TwoFingersLocation::onBeforePrologHandler( ).../tools.php:5272
100.04333127544TwoFingers\Location\Entity\Location::buildCurrent( $langId = ???, $siteId = ??? ).../include.php:283
110.04333127544TwoFingers\Location\Entity\Location::buildByIp( $ip = NULL, $langId = 'ru', $siteId = 's1' ).../location.php:108
120.04343127728TwoFingers\Location\Service\SxGeo::getLocation( $ip = '216.73.216.144' ).../location.php:151
130.04373128224TwoFingers\Location\Service\SxGeo->__construct( $db_file = '/home/bitrix/et48.ru/bitrix/modules/twofingers.location/include/SxGeoCity.dat', $type = 1 ).../sxgeo.php:344
140.04513149080fread( $stream = resource(21) of type (stream), $length = 35995980 ).../sxgeo.php:107
[ErrorException] E_ERROR
Allowed memory size of 268435456 bytes exhausted (tried to allocate 35996008 bytes) (0)
/home/bitrix/et48.ru/bitrix/modules/twofingers.location/lib/service/sxgeo.php:107
----------