0

I'm having this issue below.

Fatal error: Out of memory (allocated 301465600) (tried to allocate 32 bytes) in /home/romanzzino/public_html/lib/Zend/Db/Statement/Pdo.php on line 228

What could it be?

2 Answers 2

1

It's an issue related to the memory limit on your server or installation.

Improve these values on your .htaccess and .user.ini file, they're on your root installation folder and in your pub folder.

php_value memory_limit 512M
php_value max_execution_time 38000

If the solution above doesn't resolve, try to change the same limits on your php.ini file on your server.

6
0

The memory is limited by the .htaccess and the .user.ini files used by Magento 2.

Increase the memory limit (e.g. up to 2048M) in the following places:

1..user.ini

memory_limit = 768M

2..htaccess (2 places)

php_value memory_limit 768M

3.pub/.user.ini

memory_limit = 768M

4.pub/.htaccess (2 places)

php_value memory_limit 768M

Quoted from Dmitry Fedyuk https://mage2.pro/t/topic/3868/4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.