wpvidZ

Learn WordPress With Video Tutorials

  • Blog
  • Browse
    • Backup & Restore
    • WordPress Localhost
    • WordPress Hosting
    • WordPress themes
    • Version Updates
    • Plugin Tips
    • Security
    • Tutorials
    • WordPress SEO
    • WP Miscellaneous
    • Sitemap
  • WP 5+ Tutorial
  • Search
wpvidZ Blog Tutorials Fatal Error Allowed memory size bytes exhausted WordPress

Tutorials

Fatal Error Allowed memory size bytes exhausted WordPress

Last updated on February 18, 2017
Posted on April 1, 2011

Fatal Error Allowed memory size experience

Fatal Error Allowed memory size bytes exhausted WordPress, this terrible experience I have received some days ago, while I am setting a new blog, while I wanted to install a plugin.

At first I was very surprised because I have never had this fatal error allowed memory message whenever I use my dashboard in my hosting, either JustHost or HostGator.

I am not sure if you have ever seen this message, but in case, you will see it one day, you will not be surprised, just like I was.

The fatal error allowed memory message will look like this following:

Fatal error: Allowed memory size of 33736432 bytes exhausted (tried to allocate 79384 bytes) in /home/yourname/public_html/wp-includes/pluggable.php on line 342

The notifications would not look all the same with the above lines, but it will look more and less the same. (related entries, 404 not found page, locked out of wordpress, missing temporary folder)

Fatal Error Allowed memory size bytes exhausted — The cause?

There are so many reasons why this Fatal Error Allowed memory size bytes exhausted thing can happen in your blog as I also personally experienced myself as mentioned in the first paragraph above.

But basically is because some of PHP made scripts in your blog eats so much memory in your web hosting that the PHP memory is not enough anymore.

What are this PHP scripts in my blog? Plugins and theme. Especially the plugins. There are so many plugins that can eat up the memory resources, and this can make this Fatal Error Allowed memory size bytes exhausted error message appear.

There are many ways how to fix it in the following simple steps below, but first of all, I suggest you not to be panic.

Well, I was also a bit confused and “angry” because I am really not a person who can “wait” by nature. However thankfully, I fixed it in a few minutes after doing Google search.

This is why I want to share what I did if in case, one day or sometime soon, you will have similar problems, although I don’t hope so.

But we are using wordpress 🙂 a few problems will come and we have to fix it, although it needs patience and a whole of nerves sometimes.

I really hope nothing will happen with your blog that related with this issue, but none can know. Better be prepared than be panic.

  • Is my site loading fast? I use this shared hosting
  • Try my theme >

Fatal Error Allowed memory size bytes exhausted WordPress — How to fix it?

First of all, I wanted to disable my plugins, but I thought, those are very important plugins, and I want to use them all.

I use those plugins in all of blogs, and so far, they work well with my blogs, without any single errors a bit.

The host was VPS, and of course it was new for me, because so far, I am using shared hostings. I planned to move this blog to VPS once I am ready and familiar with VPS.

So before I contacted my customer support, I googled a solution, and found this wordpress forum thread.

I have only tried one method, which is inserting this line of code in my wp-config.php

define('WP_MEMORY_LIMIT', '64M');

Here is the screenshot in wp-config.php where I inserted the code, in case you want to know in which line.. (we are non-savvy wp users!)

fatal error allowed memory
The line where it is highlighted is the fix code

And result..viola, Fatal Error Allowed memory size bytes exhausted WordPress error is gone, I hope this post will make you prepared!

error

Latest Posts

  • Twenty Nineteen Theme Full Tutorial – Creating a Website
  • Uninstall W3 Total Cache Plugin – Incredibly Easy!
  • Create WordPress Website 2018 on SiteGround Genesis
  • WordPress Noopener Noreferrer Rel Attribute Quick Fix
  • WordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • Twenty Seventeen One Page Parallax Scrolling Website Style
  • How To Add Google Map in WordPress Contact Page
  • WordPress 4.7 Justify Text and Underline
  • Twenty Seventeen Footer “Proudly Powered By WordPress” Text
  • How To Add YouTube Subscribe Button To WordPress Website
← Comment reply wordpress | Nested or Threaded Comment
→ GD Image Imagepng support is not enabled

Comments

  1. Behrad says

    April 2, 2011 at 8:53 am

    This is a good option off course to do. However some of the providers have limited this to 32MB. In that case you might have a problem that they shut you down.

    So another option would be to check and see if you can de-activate some plugins to see if the error is gone.

    • Kimi says

      April 4, 2011 at 6:05 pm

      Hi Behrad,

      Yeah, but my case was, I have all plugins that are used in this blog too, and they are working well in this blog’s host.

      But in my VPS it did not work, so the php code in wp.config helped..

      Thanks!

  2. Brennan Toledo says

    February 21, 2012 at 8:10 pm

    You are awesome. I was trying to add a link on my menu for a client’s website and it kept giving me that error. I took your advice and the fix worked. Thank you, thank you! Now, I am going to de-activate some more plugins.

Comment form on this post is closed after 60 days.

Search

Worth Reading

  • WordPress CDN setupWordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • WordPress Google maps in contact pageHow To Add Google Map in WordPress Contact Page
  • The configuration of YouTube Subscribe button in Google Developers web pageHow To Add YouTube Subscribe Button To WordPress Website
  • Adding Social Media Links to WordPress Menu With CSS Classes
  • Unable to create directory wp-content/uploads in WordPress
  • Forward Twitter to Facebook Using App and Feedburner Tutorial
  • Kitchen Sink WordPress - Seem Simple But Important
  • Admin Pointers, Drag and Drop WordPress 3.3 Media Upload Features
  • How to sell ebook in a wordpress blog?
  • Check your site's performance using Google labs Page Speed

Backup & Restore

Backup WordPress Without a Plugin or FTP

Export WordPress Database using phpMyAdmin

BigDump Alternative – When BigDump Failed Importing Large WP Database

At This Place The Current Query Includes More Than 300 Dump Lines

View All..

Live Online Website

View All..

Offline Installation

How to Upload WordPress localhost to live server manually

Steps to Install WordPress on Windows 8 and WAMP 2.4

Install WordPress on Mavericks OS X 2014

Maximum upload file size in WAMP WordPress

View All..


WPvidz Hosting Image

  • About Me
  • Contact
  • Affiliate Disclosure
  • Privacy Policy
  • Term of Use

Copyright© 2023 wpvidz.com SG2021 | sitemap.xml


WPvidz.com is independent from WordPress.org but is proudly powered by WordPress & its block-based editor (Gutenberg)

WpvidZ.com uses cookies" to give you the best browsing experience possible. If you click "I Accept" below then you are consenting to this. For more information about your privacy settings on this website, please visit the Privacy Policy page. I Accept