WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Allowed memory size exhausted (8 posts)

  1. zaryl
    Member
    Posted 4 years ago #

    few days ago when I tried to log in to my blog, these message appears.

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

    when I ask my hosting provider, 2 suggestions they told me to do. either upgrade to dedicated servers which is unreasonable for now. the 2nd one is about blog/script/moduls/plugins that are not optimized (could used up more memory size).

    I've tried to remove all the plugins using FTP client but seem do no good to me.

    please help me with this guys.

  2. MichaelH
    Member
    Posted 4 years ago #

    The other option of course is to get a new host that's not as restrictive.

    Deactivating plugins can free up PHP memory.

    Methods for increasing the amount of memory a PHP script may consume

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');

    4. Talk to your host.

  3. zaryl
    Member
    Posted 4 years ago #

    thanks.
    unfortunately neither works for me.
    have to start from scratch. sadly...

    thanks anyway. :)

  4. mooreplusone
    Member
    Posted 4 years ago #

    This is now happening to me, after I log in to /wp-admin/ but a different file.

    Should I try the same thing?

    "
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home1/mooreplu/public_html/ethea/wp-includes/class-simplepie.php on line 5409
    "

  5. Jeremy Clark
    Moderator
    Posted 4 years ago #

    Yes it doesn't matter which file the error is still the same PHP is out of memory. These solutions should work for you.

  6. abdalhamid
    Member
    Posted 4 years ago #

    I am getting the same message, as mooreplusone, re simple-pie, but I don't have simple-pie plug-in installed (it is a plug-in right?)...so I don't understand, what is it trying to access...any clues anyone?

  7. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    have a check with disabling all the plugins and change theme to default.

    Thanks,

    Shane G.

  8. jonradio
    Member
    Posted 4 years ago #

    wp-includes/class-simplepie.php is downloaded with WordPress. And will appear on WordPress installs with no plug-ins, additional themes, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic