60Web60

Memory Limit Exceeded Errors

Troubleshooting4 min read·

This article shows you how to fix "memory limit exceeded" or "fatal error: allowed memory size exhausted" messages on your WordPress website.

What Causes Memory Limit Errors

Memory limit errors happen when your website tries to use more computer memory than allowed. This usually occurs when:

  • You have too many plugins running at once
  • Your theme is poorly coded or too complex
  • You're uploading very large images
  • Your website is getting more visitors than usual

The error message might look like: "Fatal error: Allowed memory size of 134217728 bytes exhausted" or "Memory limit exceeded".

Step 1: Identify What Triggered the Error

Think about what you were doing when the error appeared:

  • Installing or updating a plugin
  • Uploading images or files
  • Changing your theme
  • Adding new content to pages

This helps pinpoint the cause. If the error started after installing a specific plugin, that plugin is likely the problem.

Step 2: Deactivate Recent Plugins

If you can still access your WordPress admin dashboard:

  1. Log into your WordPress admin area
  2. Click "Plugins" in the left menu
  3. Find any plugins you recently installed or updated
  4. Click "Deactivate" under each plugin
  5. Check if your website works normally
  6. If it does, reactivate plugins one by one to find the problematic one

For more help with plugin issues, see our guide on plugin conflicts and resolution.

Step 3: If You Can't Access WordPress Admin

When the error blocks access to your admin area:

  1. Contact Web60 support immediately
  2. Tell us exactly what you were doing when the error started
  3. Mention any recent changes to plugins, themes, or content
  4. We can temporarily increase your memory limit or deactivate problematic plugins

Step 4: Reduce Image File Sizes

Large images often cause memory problems:

  • Resize images to web-friendly dimensions (typically under 1920px wide)
  • Compress images before uploading
  • Use JPG format for photos, PNG for graphics with few colours
  • Consider removing unused images from your media library

For detailed guidance, read our article on adding images and media.

Step 5: Check Your Theme

Some themes use excessive memory:

  • Switch temporarily to a default WordPress theme (like Twenty Twenty-Four)
  • If the error disappears, your theme is the problem
  • Contact the theme developer for support
  • Consider switching to a more efficient theme

Prevention Tips

  • Only install plugins you actually need
  • Keep plugins and themes updated
  • Regularly remove unused plugins and themes
  • Optimise images before uploading
  • Monitor your website's performance regularly

If you're still experiencing memory limit errors after trying these steps, contact Web60 support with details about when the error occurs and what you were doing. We can investigate server-side issues and help identify the root cause.

FAQ

Q: Will increasing memory limit slow down my website?

A: No, increasing the memory limit doesn't slow your site. However, if your site needs more memory, there might be an underlying efficiency problem worth investigating.

Q: Can too many visitors cause memory limit errors?

A: Yes, high traffic can trigger memory errors, especially if you have resource-heavy plugins or themes. This is usually temporary and resolves when traffic decreases.

Q: How do I know which plugin is causing the problem?

A: Deactivate all plugins, then reactivate them one by one. When the error returns, the last plugin you activated is likely the cause.

Q: Are memory limit errors dangerous for my website?

A: No, they don't damage your site or data. They simply prevent certain functions from working until resolved. Your website data remains safe.

Q: Why do memory errors happen suddenly?

A: They often occur after installing new plugins, updating existing ones, or uploading large files. Sometimes increased visitor traffic can also trigger them.

Q: Can I prevent memory limit errors completely?

A: While you can't prevent them entirely, regular maintenance like updating plugins, optimising images, and removing unused plugins significantly reduces the likelihood.

Last updated: 1 March 2026

Still need help?

Contact our support team for personalised assistance.

Contact Support