'Fatal error: Allowed memory size of X bytes exhausted' – What does this mean?

When building a new website, or adding new themes/plugins/modules to an existing website, you may come across the following error on your website:

Fatal error: Allowed memory size of X bytes exhausted (tried to allocate X bytes) in /home/X/public_html/wp-includes/plugin.php on line XX

What this error means is that the plugin (for example) plugin.php requires a certain amount of PHP memory to function correctly, but this requirement is above the amount allowed on the account. To fix the above error on your website you can update your php.ini file from your cPanel:

  1. Log in to your LetsHost client area and click on Services > My Services
  2. You will see your products/services listed out here. Click on Active beside your hosting package
  3. On the menu on the left, click on Login to cPanel
  4. Once logged in to your cPanel control panel, click on the icon for File Manager
  5. Navigate to your public_html folder
  6. Right click on your php.ini file (or create one if its not there) and click Code Edit
  7. Add the following and click Save: memory_limit = 128M

128MB is the limit on PHP memory on our Starter hosting plans. Should your website require more than this, you can upgrade to a higher plan. Our Business Hosting plans allow for up to 256MB PHP memory, WordPress hosting plans up to 512MB and Enterprise plans up to 512MB PHP memory. We do not impose any such limit on our Irish VPS server plans.

If you require further information/assistance on this, please submit a ticket and a member of the team will be happy to assist further.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I’m getting the error ‘resource limit is reached’ on my website – why?

On our shared hosting servers, we have a component in place that will limit resource usage on an...

How can I buy a domain name that is already registered?

If you come across your ideal domain name, but then find that it is already registered to someone...

Redirecting with/without an SSL cert

In order for your website to load up with the green padlock, you will need to ensure that the...

I purchased a domain, how do I use it to create email addresses?

To create email addresses that end in your domain name, you would need a hosting account. With...

Do you offer SSL Certificates and are there different types?

We offer SSL Certificates at very competitive rates. We can also take care of installing this...