Error message from my hosting again

by Gozang
9 replies
Hi Warriors:

I got the message as "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 696776 bytes) in /home/username/public_html/site.com/wp-settings.php on line 195" when I tried to edit my post today. I have been trying to fix some of the junk posts which were created by some autoblog plugins and now I'm stuck because I cannot edit the posts and it returns the fatal error message.

I already contacted the hosting again to have a look at the issue. So far I haven't heard anything from then yet.

The hosting is shared and it has unmetered space and bandwith according to their sales page.

I don't know what should I do next. I already paid this hosting for 3 years and now I'm a little bit of reluctant to move the sites to the new hosting as I'm trying not to spend any money on the hosting right now.

Your suggestions will be greatly appreciated.
#error #hosting #message
  • Profile picture of the author Daniel Elss
    Reliable support from your hosting is definitely worth it even if you have to pay a few more bucks. I recommend Hostgator.

    Anyway, with that out of the way, have you removed the plugins you speak of?
    {{ DiscussionBoard.errors[7590466].message }}
    • Profile picture of the author Gozang
      Hi Daniels:

      Yes I removed that plugin not only on the sites on that hosting but on all of my sites. It's also so weird that all the sites were running fine just few hours ago. I was working on only one of the sites hosted on this particular hosting server but after some time, I got the message on all of my sites that are hosted on this hosting server.

      If it was about the plugin then it should only display the message on that particular site not on all the sites that are hosted.
      Signature

      I'm looking for a great mentor and also looking for experienced wordpress developer.

      {{ DiscussionBoard.errors[7590668].message }}
  • Profile picture of the author SteveWF
    It looks like you may have to increase your memory limit which
    involves editing php.ini on your server. Not something I'd
    recommend tackling if you're not familiar with doing it.

    Your hosting company should be able to help you and if
    not it's time to start moving your hosting elsewhere.

    I'd also suggest doing a search on google for that particular
    error message and see what comes up. You might get
    some more clues.

    Something like "Allowed memory size of 33554432" in quotes
    should do the trick.

    Good luck with everything

    Steve
    {{ DiscussionBoard.errors[7590681].message }}
  • Profile picture of the author Kingfish85
    The error you're getting means that you're hitting the memory limit for Wordpress. It could also be the php limit they have set. I believe the default php limit is 32M, and some hosts bump it up to 64M or even 128M.

    You can try adding this line to your wp-config file:

    Code:
    define('WP_MEMORY_LIMIT', '64M');
    It may/may not work.

    You can also try creating a file called: php.ini and place it in the directory. Put something in it like the line below:

    Code:
    memory_limit = 64M ;
    You can try increasing that number as well, 128, 256 etc.
    Signature

    |~| VeeroTech Hosting - sales @ veerotech.net
    |~| High Performance CloudLinux & LiteSpeed Powered Web Hosting
    |~| cPanel & WHM - Softaculous - Website Builder - R1Soft - SpamExperts
    |~| Visit us @veerotech Facebook - Twitter - LinkedIn

    {{ DiscussionBoard.errors[7590711].message }}
    • Profile picture of the author Gozang
      Hi Warriors:

      Thank you so much to all of you for your wonderful support and suggestion. It really was a learning curve for me to handle the issue which I had never experienced before.

      After going through the suggestions, searching on google and youtube, and of course in wordpress.org itself, I have managed to solve this problem. I had to add a "php.ini file with ( upload_max_filesize = 128M;
      post_max_size=128M; ) and it worked. I also removed some of the plugins which required ion cube.

      The weird thing is that as I fixed one of my sites then all of the sites came back live.

      Thank you all of you wonderful people here.
      Signature

      I'm looking for a great mentor and also looking for experienced wordpress developer.

      {{ DiscussionBoard.errors[7590875].message }}
      • Profile picture of the author Kingfish85
        Originally Posted by Gozang View Post

        Hi Warriors:

        Thank you so much to all of you for your wonderful support and suggestion. It really was a learning curve for me to handle the issue which I had never experienced before.

        After going through the suggestions, searching on google and youtube, and of course in wordpress.org itself, I have managed to solve this problem. I had to add a "php.ini file with ( upload_max_filesize = 128M;
        post_max_size=128M; ) and it worked. I also removed some of the plugins which required ion cube.

        The weird thing is that as I fixed one of my sites then all of the sites came back live.

        Thank you all of you wonderful people here.
        Glad to hear you got it working. Having to change it to 128M is high - when your web host gets back to you, you might want to see if they'll work with you try find out why your site is trying to use so much memory.
        Signature

        |~| VeeroTech Hosting - sales @ veerotech.net
        |~| High Performance CloudLinux & LiteSpeed Powered Web Hosting
        |~| cPanel & WHM - Softaculous - Website Builder - R1Soft - SpamExperts
        |~| Visit us @veerotech Facebook - Twitter - LinkedIn

        {{ DiscussionBoard.errors[7591193].message }}
  • Profile picture of the author perfect
    Use various means to reach your hosting company as they are in better position to expand the memory limit of your account, atleast they will be sure of what they are doing.
    Signature

    Submit your articles to www.365articledirectory.com FREE, approval within 48 hours

    {{ DiscussionBoard.errors[7591135].message }}
  • Profile picture of the author seasoned
    Yeah, if it requiers ion cube, it likely requires more memory. This isn't a bandwidth or diskspace issue though. The reason for this is so that any one application doesn't hog the space. Even TODAY it is possible for reckless allocation to bring the largest system on the planet to its knees, without such limits!

    Steve
    {{ DiscussionBoard.errors[7591296].message }}

Trending Topics