< All Topics

WordPress Memory Limit errors occur when your website uses more memory than the amount allocated by your hosting plan or available on the server. This issue can negatively impact your site’s performance, leading to a poor user experience. Here, we show you how to fix a Memory Limit error, what these errors are, and what causes them.

This article assumes that you are already logged in to your Hosted.com account.

Correcting Memory Limit Errors

You can correct a Fatal Error Message regarding memory size by following these steps:

The first option to increase Memory Limit requires you to sign in to your cPanel Dashboard:

Fix A WordPress Memory Limit Error - cPanel Dashboard

Under “Software,” select “Select PHP Version”.

Fix A WordPress Memory Limit Error - PHP Selector Screen

Go to “Memory Limit” to increase it and click “Apply”.

Fix A WordPress Memory Limit Error - Memory Limit

If this doesn’t help resolve the issue, check the Memory Limit settings in the WordPress wp-config.php file:

In WordPress go to “File Manager” type in “/home/xxx/public_html/wp-config.php” and increase the “memory_limit” in the “wp-config.php” file.

/home/xxx/user.ini

/home/xxx/public_html/user.ini

/home/xxx/.htaccess

/home/xxx/public_html/.htaccess

If none of the above has resolved the issue, it could be related to your WordPress theme or a plugin, that may be forcing a Memory Limit Set within a different stored file.

If you require more assistance, please reach out to our Support Team.

Additional Information:

What Is the WordPress Memory Limit?

The WordPress Memory Limit or PHP Memory Limit is the pre-determined maximum amount of memory (RAM) your website can use. It ensures your website scripts don’t exceed your hosting plan’s RAM allocation.

Web servers store all website data and files. To keep your site running smoothly, your server/hosting package must have enough storage capacity, processors, and RAM available. The RAM capacity varies depending on the hosting provider and the plan used.

Every site application and feature needs RAM to function. As you install more plugins or upload files, your site will require more memory. If the available memory is used up, it can result in slow loading times, or not loading at all.

WordPress usually sets a memory limit of 32 MB, which be insufficient for resource-intensive sites.

Causes of WordPress Memory Limit Errors

Server Resource Allocation

Memory Limit errors are usually caused by inadequate resource availability such as SSD (Solid State Drive) storage, CPU, or RAM. If your site experiences increased traffic or is running resource-hungry plugins and content, it can surpass the allocated memory limit given by your hosting plan.

You can solve this issue by following the steps above. Alternatively, you can reduce the plugins you use and your site content. Instead of limiting your site’s growth, upgrade your WordPress Hosting plan for better resource allocations.

Plugins & Themes

Poorly coded or resource-heavy plugins or themes can use excessive memory. To fix this issue, deactivate the plugin or theme and then update to the latest version. Alternatively, delete the plugin or theme entirely and find an alternative.

Database Size & Increased Traffic

Large databases and higher site traffic can also cause Memory Limit errors. When the data stored on your website increases, so does the memory requirements. If your WordPress site is querying or processing lots of data, or responding to more requests, it may exceed the Memory Limit, resulting in an error.

Reduce your database memory usage by deleting unnecessary information like spam comments and old post revisions. Additionally, having a hosting plan that uses a Content Delivery Network (CDN) and installing a caching plugin can help optimize performance and memory usage as it stores frequently requested data and thus reduces queries from increased traffic.

Log into Hosted.com Account

1. Go to the Hosted.com Login website page.

How To Login To Hosted.com - Login in to Hosted.com Account

2. Enter your Email and Password and click the “Sign In” button.

Access cPanel via Your Hosted.com Account

3. You will see the Hosted.com Dashboard, displaying the Manage Account menu on the left and your Account Information, Account Overview on the right and Open Support Tickets below.

How To Login To Hosted.com - Hosted.com Dashboard

4. Click the “Manage Service” dropdown and select your hosting package – our example uses the WordPress Hosting plan. The hosting window will open and you will see Product Information and Quick Manage on the right.

5. Click the “Manage” button to the right of the domain name you want to access.

Access phpMyAdmin via cPanel Dashboard - Manage WordPress Domain

6. The display will now show Product Information, Quick Manage, Resource Usage and Site Statistics for that domain name.

7. Under “Product Information”, scroll down to “Control Panel”, which will display cPanel to the right, and click on the “Login” button.

Access phpMyAdmin via cPanel Dashboard - cPanel Login

8. The cPanel Dashboard will now be displayed.

Access phpMyAdmin via cPanel Dashboard - cPanel Dashboard

Login to cPanel Online

1. Visit your cPanel URL, either supplied to you through your web host or attained through other sign-up methods.

2. Enter your Username

3. Then enter your Password and click “Log in”.

How To Login To cPanel - cPanel Login
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?