Answer the question
In order to leave comments, you need to log in
What is the error in Bitrix?
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/bitrix/www/bitrix/modules/iblock/classes/general/iblockelement.php on line 5576
Answer the question
In order to leave comments, you need to log in
in .htaccess php_value memory_limit 512M
or
/etc/php.d/bitrixenv.ini
memory_limit = 512M
Allowed memory size
Check multiple properties in IB, temporarily disable all such properties. The mentioned line operates with the handling of multiple properties.
This is how memory overflow is most likely caused by custom code, kill everything self-written and you will have chocolate.
I don’t even mention the version with a hacked trial period, there are three letters like that at once.
Good afternoon. Probably, the error is related to non-cached data in the components, you apparently have a lot of properties and database queries. Reduce the number of output items. For example, such an error happens when you view a list of elements in the admin panel, many properties are displayed in the fields, and the results on the page are 500, not 20 or 50)))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question