( ! ) Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2677208 bytes) in /home/bitrix/et48.ru/bitrix/modules/twofingers.location/lib/service/sxgeo.php on line 109
Call Stack
#TimeMemoryFunctionLocation
10.0000454304{main}( ).../urlrewrite.php:0
20.0000455072include_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/urlrewrite.php ).../urlrewrite.php:2
30.0007682352include_once( '/home/bitrix/et48.ru/catalog/index.php ).../urlrewrite.php:128
40.0007682688require( '/home/bitrix/et48.ru/bitrix/header.php ).../index.php:2
50.0007683096require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/prolog.php ).../header.php:2
60.0007683448require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include/prolog_before.php ).../prolog.php:10
70.0007691504require_once( '/home/bitrix/et48.ru/bitrix/modules/main/include.php ).../prolog_before.php:19
80.04582585952ExecuteModuleEventEx( $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.04753120008TwoFingersLocation::onBeforePrologHandler( ).../tools.php:5272
100.04813127424TwoFingers\Location\Entity\Location::buildCurrent( $langId = ???, $siteId = ??? ).../include.php:283
110.04813127424TwoFingers\Location\Entity\Location::buildByIp( $ip = NULL, $langId = 'ru', $siteId = 's1' ).../location.php:108
120.04823127608TwoFingers\Location\Service\SxGeo::getLocation( $ip = '216.73.216.144' ).../location.php:151
130.04853128104TwoFingers\Location\Service\SxGeo->__construct( $db_file = '/home/bitrix/et48.ru/bitrix/modules/twofingers.location/include/SxGeoCity.dat', $type = 1 ).../sxgeo.php:344
140.076439259320fread( $stream = resource(21) of type (stream), $length = 2677182 ).../sxgeo.php:109
[ErrorException] E_ERROR
Allowed memory size of 268435456 bytes exhausted (tried to allocate 2677208 bytes) (0)
/home/bitrix/et48.ru/bitrix/modules/twofingers.location/lib/service/sxgeo.php:109
----------