Fatal error: Allowed memory size of 33554432 bytes exhausted While Upgrading WordPress

While upgrading my wordpress version, few days ago, i received error messages that stating “Fatal error: Allowed memory size of 33554432 bytes exhausted…bla bla”.

After googling for the solution, i found out that this error happened when execution of a php file exceed allowed php memory on the server. In my case, the allowed php memory is 33554432 bytes (32 Mb).

fix-fatal-errorPicture by : elliotcondon

The idea to solve the problem is increasing that allowed php memory. Google came with some solutions, but this was the solution i chose and it worked like charm:

Open wp-config.php file and added line

ini_set("memory_limit","128M");

to the top of that wp-config.php file, right after “<?php” line(wp-config.php file could be found in the root installation folder, i.e. /public_html folder).

This increased allowed php  memory to 128 Mb.

I re-tried upgrading my wordpress and the error messages gone. Thanks God.

27 Comments to “Fatal error: Allowed memory size of 33554432 bytes exhausted While Upgrading WordPress”

Add Comments (+)

  1. DennisVega says:

    Hey, great blog…but I don’t understand how to add your site in my rss reader. Can you Help me, please :)

  2. Tnelson says:

    I don’t usually reply to posts but I will in this case, great info…I will add a backlink and bookmark your site. Keep up the good work!

  3. mbojowae says:

    thanks guys, we’re planning to make news themes for wp. We will lunch it soon, but now we still running in another project. I hope it available in next week in this blog……….:)

  4. reza says:

    @DennisVega
    This is our feed URL: http://www.dynamicwp.net/feed/
    just click it, and your browser will show an option to subscribe to our feeds

    if you’re using mozilla FireFox opera, you can select other than your browser as rss reader, like yahoo, google readers or other

    @Tnelson
    thanks for your nice words

  5. JimmyBean says:

    I don’t know If I said it already but …Great site…keep up the good work. :) I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say I’m glad I found your blog. Thanks, :)

    A definite great read..Jim Bean

  6. cubrikaska says:

    me gusta esta frase:)

  7. bandsxbands says:

    My friend and I were recently discussing about how we as a society are so hooked onto electronics. Reading this post makes me think back to that debate we had, and just how inseparable from electronics we have all become.

    I don’t mean this in a bad way, of course! Ethical concerns aside… I just hope that as technology further innovates, the possibility of uploading our brains onto a digital medium becomes a true reality. It’s one of the things I really wish I could encounter in my lifetime.

    (Posted on Nintendo DS running [url=http://www.leetboss.com/video-games/r4i-r4-sdhc-nintendo-ds]R4i[/url] DS Fling)

  8. bandsxbands says:

    I truly believe that we have reached the point where technology has become one with our world, and I think it is safe to say that we have passed the point of no return in our relationship with technology.

    I don’t mean this in a bad way, of course! Ethical concerns aside… I just hope that as the price of memory falls, the possibility of downloading our brains onto a digital medium becomes a true reality. It’s a fantasy that I daydream about every once in a while.

  9. bandsxbands says:

    I’m in a love/hate relationship with virtual memory because of how prices are always,and I mean always falling. I absolutely hate buying SD Cards for my R4 / R4i at (what seems to be) a bargain price only to see it become 10% cheaper a few weeks later.(Submitted by Nintendo DS running [url=http://cryst4lxbands.livejournal.com/398.html]R4i[/url] BB)

  10. Easily, the article is actually the greatest topic on this related issue. I concur with your conclusions and will eagerly look forward to your upcoming updates. Just saying thanks will not just be adequate, for the tremendous lucidity in your writing. I will right away grab your rss feed to stay abreast of any updates.

  11. Love the modern look. I enjoyed the article. Thanks for the great work.

  12. Thanks for sharing this excellent post, i truly love your weblog, but i have some problem i dont know whether it’s my side issue or on your site? some words from the post on your blog have charactor encoding issue, yes i use auto detecting, can u pls look into this issue a bit?

  13. Seannerne says:

    I am reading this article second time today, you have to be more careful with content leakers. If I will found it again I will send you a link.

  14. and loans says:

    Saw your site bookmarked on Reddit.I love your site and marketing strategy.Your site is very useful for me .I bookmarked your site!

  15. Silvia says:

    hR2C51 I am always excited to visit this blog in the evenings.Please churning hold the contents. It is very entertaining.

  16. Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now. Keep it up!
    And according to this article, I totally agree with your opinion, but only this time! :)

  17. Silvia says:

    I am always excited to visit this blog in the evenings. Please churning hold the contents. It is very entertaining.

  18. Thanks for spending the time to describe the terminlogy towards the newbies!

  19. lapeer mi says:

    Been looking for a solution for this problem, so Thanks much! I’ve bookmarked your site!

  20. raypharma says:

    I usually don’t post in Blogs but your blog forced me to, amazing work.. beautiful …

  21. i honestly enjoy your posting kind, very remarkable.
    don’t quit and also keep creating for the simple reason that it simply very well worth to read it,
    excited to look over a lot more of your content articles, goodbye ;)

  22. online games says:

    Yet another good cheat code. I posted a plug for this blog at mine. Anyway, I am sure many people dont know the format applies.

  23. Isn’t this memory limit also dependent on who your host provider is? I use 1and1 with shared hosting which caps the limit. I am hoping to change providers soon because of the memory limit.

    I would like to know your insight to this.

    Wicked site by the way. Extremely well done all around including your theme designs.

    • reza says:

      yep, as far as i know, the script also depents on host provider

      but the script is very easy to implement, so no reason not to try it

  24. I wrote a couple posts about the exact same subject matter but you seem to understand a bit more about it than I do.

  25. jessica says:

    amazing work. thank for sharing. :)

Leave a Reply

 

Amazingly Beautiful WordPress Themes