Skip to content

Home  /  Blog  /  Repairs and errors

"Allowed Memory Size Exhausted" in WordPress: What It Means and What to Do

“Allowed memory size exhausted” means a WordPress process tried to use more PHP memory than the server allows. It is caused by heavy plugins, large imports, image processing or poorly written code, and the proper fix finds what is using the memory rather than only raising the limit.

4 min readRepairs and errorsWritten by WP Mate, Warrnambool VIC
WP Mate koala mascot beside a laptop, representing Australian WordPress support
01

What PHP memory is

Each request WordPress handles gets a limited amount of memory to work with. When a task, such as generating a complex page or processing a large image, needs more than that allowance, PHP stops and reports the error, often naming a file and the number of bytes it tried to use.

02

Common causes

CauseTypical sign
Heavy page builder pagesError when editing or loading complex pages
Large image uploads or regenerationError during media tasks
Large imports or exportsError during imports
Backup or security plugins scanningError during scheduled tasks
A plugin with a memory leakError that grows over time
A low host limitFrequent errors with modest sites

Not sure what is going on with your website?

Tell us what you are seeing and we will outline the next step before any chargeable work.

03

Raising the limit: when it is reasonable

Some sites simply need more memory, and raising the limit within what the host allows is a legitimate step. Do it deliberately, with a backup, and watch whether the error returns. If it does, the underlying cause still needs attention.

04

Finding what is consuming memory

  • Read the error message for the file and plugin named
  • Check whether it happens during a specific task or on a specific page
  • Test by disabling the suspected plugin on a staging copy
  • Review scheduled tasks that run heavy jobs
  • Check the host’s resource graphs where available
05

Memory and hosting limits

Hosts cap memory per request and per account. Cheap plans often have low caps. If your site legitimately needs more than the plan allows, an upgrade or a move to a better environment is the answer. See whether hosting affects speed.

06

Avoiding future errors

  • Keep plugins lean and updated
  • Optimise images before upload
  • Schedule heavy jobs for quiet times
  • Use caching to reduce repeated heavy work
  • Monitor resource use
07

Memory leaks and runaway plugins

Some plugins use more and more memory the longer a task runs, or loop through huge amounts of data in one go. On small test sites they seem fine, but on a real site with thousands of products or images they exhaust memory. If the error appears during a particular task, such as a backup, an import or a scan, the culprit is probably the plugin performing it. Options include running the task at a quieter time, splitting it into smaller batches, replacing the plugin or giving the task more memory within what the host allows.

08

Working with your host on limits

Hosts set both a per-request memory limit and overall account limits. Raising the WordPress setting beyond the host’s cap has no effect, and a persistently low cap on a busy site is a sign that the hosting plan is too small. Ask the host what limits apply, whether they can be raised and what the next plan up offers. Pairing that information with a review of heavy plugins gives you options: fix the code, raise the limit or upgrade the environment, and you can choose with evidence instead of guessing.

09

How we help

We find the cause, adjust limits where appropriate and fix the underlying plugin or configuration. See WordPress repair and speed optimisation, or contact us.

Want this looked after for you?

WP Mate maintenance plans cover managed updates, daily offsite backups, security scanning and 24/7 uptime monitoring.

Not sure what's wrong? Tell us and we'll outline the next step.

How we can help

Services related to this guide

WordPress repair

Broken website? We investigate the cause and fix it safely.Get a Repair Quote →

Speed optimisation

Find what is slowing your website and fix it safely.Request a Speed Review →

Talk to WP Mate

Not sure which service fits? Ask us and we will point you the right way.Contact us →

Frequently asked questions

Many sites run well with a moderate limit. Page builders and stores often need more. The right value depends on the site and the host.

Often yes in configuration or the host panel, but it should follow a backup and respect the host’s cap.

Not necessarily, but a very low limit on a busy site is a sign the plan may be too small.

Ready to get your website sorted?

Based in Warrnambool, Victoria, helping Australian businesses online. Tell us what is happening.

Get WordPress help

Tell your mate what's going wrong.

Send us a few details and we’ll work out the next step. Please don’t include passwords or payment details.

  • Australian support in plain English
  • Clear scope and next steps before chargeable work
  • Backup and recovery plan before live changes

Please don't include passwords, payment card numbers or private customer data. If we need access, we'll arrange a secure way to share it.