Fatal error: Allowed memory size of number bytes exhausted

Modified on Mon, 13 Mar, 2023 at 5:56 PM

The similar messages will look like this:

  • Installation failed, reverting /composer.json to its original content
  • The following exception is caused by a lack of memory and not having swap configure

We have to say this absolutely from your server. You should contact your developer (or the one who helped you set up your store), you can also contact your host provider, ask them about this issue, they will help you out.

A workaround solution for this is to add this line to bin/magento file: ini_set( memoy_limit', '2048M'). The result will look like this: https://prnt.sc/hsplju


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article