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.? Nov 15, 2017 at 20:06
  • i don't think memory issue, seems like it is going to for loop may be some third party module Nov 15, 2017 at 20:19

1 Answer 1


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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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