WordPress "Allowed Memory Size Exhausted" Error

The site (or just the admin area) shows "Fatal error: Allowed memory size of … bytes exhausted" — WordPress ran out of the memory your hosting allows it.

Common signs of this issue

Safe checks you can do yourself

None of these require sharing passwords with anyone.

What this usually means

Your hosting gives each page-load a fixed budget of working memory. This error means one request — often a plugin doing something heavy — spent the whole budget. It's a resource ceiling, not corruption: nothing is broken or lost.

The proper fix is usually one of two things: raise the limit (a one-line change in wp-config.php, or a setting in the hosting panel — many hosts do it on request), or slim down whatever is eating memory — typically an oversized plugin stack or an inefficient import/backup process.

If the limit is already generous (256MB+) and still gets exhausted, that points at a runaway plugin or a plugin conflict rather than a genuinely hungry site — raising the limit further just feeds the leak.

What not to do

When to get help

Raising the memory limit is a five-minute job for your host's support team — asking them is the safest first move, and it's free. Bring in a professional when the limit is already high and errors continue: finding which plugin leaks memory takes tools and experience, and it's a well-bounded diagnostic job.

Could your hosting be the problem?

If your host is slow, unreliable, or hard to deal with, moving to a better one can clear up issues like this for good. One we genuinely recommend is Instant Access Internet Services — a smaller, compassionate company with 30 years in the business, known for being one of the fastest, with great management and low pricing. (Just a recommendation — no affiliate link, no kickback.)

Not sure what to do next?

Answer a few short questions and we'll point you to the safest next step — DIY, a freelancer, or a direct review. No passwords required.

Frequently asked questions

What does 'allowed memory size of 134217728 bytes exhausted' mean?

134217728 bytes is 128MB — the memory budget your hosting allows a single page-load. Some plugin or process needed more than that, so PHP stopped it. It's a limit being hit, not data being damaged.

How much memory should WordPress have?

128MB is fine for simple sites; 256MB is the comfortable norm for page builders and WooCommerce. Needing much more than that usually signals an inefficient plugin rather than a legitimately hungry site.

Can my hosting company just increase the memory limit?

Usually yes, and it's the safest route — one support ticket. On budget plans the ceiling may be fixed, which is one of the honest reasons a growing site outgrows cheap hosting.

Is increasing the memory limit safe?

The change itself, done correctly, is safe and standard. The risk is in how it's done — a typo in wp-config.php or php.ini downs the site — and in using it to hide a plugin that leaks memory.

Why does it only happen when I upload images or run a backup?

Those are memory-hungry moments — image processing and site-wide backups briefly need far more than a normal page view. If the errors only happen then, the everyday site is fine and only that process needs attention.

Related free guides

WordPress site down?

Seeing “There has been a critical error on this website”?

Our guided repair tool logs in over secure FTPS and fixes the most common WordPress failures — safely, with every change backed up and reversible. Start with a free scan, no password needed.

Fix My WordPress Site → Free scan · No download of your site · Reversible