I've been working through the issues one by one. I now have this message when after the admin login: Magento Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 349068 bytes) in /home/rxxxxx3/public_html/shop/vendor/composer/composer/src/Composer/Json/JsonFile.php on line 92
Any idea where to go next?

  • When is this error coming ? Jul 10, 2016 at 21:20
  • I can reach the admin login, this comes after I enter name+password.
    – johannsf
    Jul 11, 2016 at 4:22
  • You can increase the memory limit using .htacess . php_value memory_limit 512M in your .htaccess file in the Magento root Jul 11, 2016 at 5:31
  • Is the site hosted on a shared hosting or a dedicated server? Jul 11, 2016 at 5:47
  • It is a shared server from Lunarpages.
    – johannsf
    Jul 11, 2016 at 14:55

1 Answer 1


You can configured Memory limit in following places:

  1. In php.ini

    memory_limit = 512M

  2. In .htaccess file

    php_value memory_limit 512M

  • Thank you - I had been told to raise it to 64m, which I did, but apparently 512M is the correct number. Solved
    – johannsf
    Jul 11, 2016 at 15: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.