N
N
nikita1sm2019-07-25 15:58:19
PHP
nikita1sm, 2019-07-25 15:58:19

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

5 answer(s)
S
sinneren, 2019-07-25
@sinneren

in .htaccess php_value memory_limit 512M
or
/etc/php.d/bitrixenv.ini
memory_limit = 512M

V
Viktor Taran, 2019-07-25
@shambler81

Allowed memory size

In my opinion, the problem is written here, what millions of options?

A
Alex-1917, 2019-07-25
@alex-1917

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.

A
Anton, 2019-07-25
@anton99zel

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)))

R
Renat, 2019-07-27
@RenatKZ

add memory for script execution or look for ways to reduce memory consumption

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question