WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Allowed memory size of 33554432 bytes exhausted

Fatal error: Allowed memory size of 33554432 bytes exhausted

  • I get this error

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /home/content/r/o/n/*********/html/k*****bonus/wp-admin/includes/misc.php on line 278

    What do I do?

    Please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Check with these options:

    1) Either rename/remove Plugins folder via FTP or disables all the Plugins from database.

    2. If you have an access of PHP.ini file of the account/server then change the line in PHP.ini where line shows 32M to 64M:
    memory_limit = 64M; Maximum amount of memory a script may consume (64MB)

    3. If you do not have access of PHP.ini file then add this to an .htaccess file of your domain:
    php_value memory_limit 64M
    4. Try to add this line to your wp-config.php file to increase allocated memory to PHP:
    define(‘WP_MEMORY_LIMIT’, ‘64M’);

    If all this option can not resolve the issue then you need to contact your hosting service provider to resolve this issue.

    Thanks,

    Shane G.

    Hey Shane,

    You are awesome.

    Thanks for the assistance.

    I get this error as well:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 527 bytes) in /home/content/r/o/n/*********/html/k*****bonus/wp-includes/http.php on line 420

    and this as well:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 46938 bytes) in /home/content/r/o/n/*********/html/k******bonus/wp-includes/functions.php on line 965

    Is the above resolution the same for these both errors as well?

    Ronak.

    Ronak,

    Yes, my provided solution is same for your both error messages.

    Thanks,

    Shane G.

    hey Shane,

    You’re a genius.

    It WORKED.

    4. Try to add this line to your wp-config.php file to increase allocated memory to PHP:
    define(‘WP_MEMORY_LIMIT’, ‘64M’);

    This worked. I’d to put in effort to rewrite the wp-config.php file as when I used to save after adding the line above, it would get scrambled and turn into a mess.

    I am happy as it worked.

    Thanks a TON. God Bless Shane G.

    🙂

    Ronak.

    Hi,

    I get this again for the same blog.

    when I try to install the meta robots plugin, I get this error:

    Allowed memory size of 33554432 bytes exhausted (tried to allocate 157700 bytes) in /home/content/r/o/n/*********/html/k*****review/wp-includes/http.php on line 1363

    Neither am I able to apply any wordpress theme for the blog nor am I able to install the robots meta plugin…

    Any resolution that you think will work?

    Thanks a ton.

    Ronak

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Allowed memory size of 33554432 bytes exhausted’ is closed to new replies.