Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 1769107328 bytes) in D:\xampp\htdocs\magento_final\vendor\magento\framework\ObjectManager\Relations\Runtime.php on line 38

can u please give this sloution


1 Answer 1


You can allocate more memory to the php by changing memory_limit from php.ini in xamp. find

memory_limit = 128M

it may be different, then 128M, you can add more memory and try.

  • I would recommend assign atleast 1gb of memory for Magento 2. Also I have noticed that my magento is running much slower on xampp than on virtual box with vagrant.
    – Macas
    Feb 5, 2018 at 7:03

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.