Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

What is: Memory Usage

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Memory usage in WordPress refers to the amount of memory used by a PHP script. This script could be a theme, a plugin or a core WordPress file. A well written WordPress plugin or theme will attempt to reduce its own memory usage and not cause heavy load on your server by using excessive memory. PHP scripts consuming too much memory can also slow down a website. Many shared web hosting service providers have safeguards in place to automatically kill PHP scripts that are exceeding more than an allocated amount of memory, resulting in website downtime, and sometimes even suspended hosting accounts. To optimize memory usage in WordPress, it is strongly recommended that you use a caching plugin which reduces the load on your web server by serving cached copies of webpages.

In many cases you can see for yourself how much memory the server you are hosted on is using. In cPanel, you can click on “Service Status: Click to View” at the bottom left of your cPanel log-in page if your host allows you to see such things. Knowing what the normal usage is will help you to spot when things are abnormal and possibly a risk to your website. The memory usage is shown as a percentage of total memory. Other hosts who do not use cPanel may have similar options available to view memory usage other than through fatal errors that are displayed when too much memory is being used. If needed, you can also ask your host to increase your allocated memory when running scripts or plug-ins that require them, although this is not recommended unless you know exactly what you are doing.

Additional Reading

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!