PHP Fatal error caused by Magento

So, I check my error logs and notice them:

[20-Aug-2010 15:06:32] PHP Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 16 bytes) in /home/website/public_html/lib/Zend/Db/Statement/Pdo.php on line 294

So, I know that this is due to the memory size set to php.ini, but it is set to 250 MB, which seems pretty high for VPS. There are quite a lot of such errors, but the interface performance is not affected.

Is it possible that I have a memory leak somewhere or is this a small error?


Update: this is on many files:

app/code/core/Mage/Core/Model/Config.php

app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php

lib/Zend/Db/Select.php

Mostly appearing on models?

+3
source share
1 answer

512 MB is recommended and we use it on our sites.

A situation may arise (for example: reindexing) where problems may arise.

+1
source

Source: https://habr.com/ru/post/1760804/


All Articles