When I go to place order through the Admin Panel of the magento site or front end the website crashes and I get this error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /homepages/10/d569191818/htdocs/clickandbuilds/Magento/Hilbri/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 393

  • can you please check the memory limit of your php server.? – Abhishek Panchal Nov 15 '17 at 20:06
  • i don't think memory issue, seems like it is going to for loop may be some third party module – Sunil Patel Nov 15 '17 at 20:19

Increase your memory limit to 512M. Try that and see if you still have issues.

In PHP.ini

memory_limit 512M

In .htaccess

php_value memory_limit 512M

Note: Don't forget to Restart service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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