WordPress.org

Ready to get started?Download WordPress

Forums

TDO Mini Forms
Fatal error: Allowed memory size (4 posts)

  1. Vrefr
    Member
    Posted 3 years ago #

    After trying to add new post gives an error: Fatal error: Allowed memory sizeAllowed memory size of 33554432 bytes exhausted (tried to allocate 1600 bytes) in /home/mysite/public_html/wp-includes/media.php on line 253
    :(

  2. eugenealegiojo
    Member
    Posted 3 years ago #

    You can maximize the memory limit.
    Change it manually in /wp-includes/default-constants.php file around line 23.
    From:
    define('WP_MEMORY_LIMIT', '32M');
    Change to:
    define('WP_MEMORY_LIMIT', '64M');

    That should work.

  3. shortster
    Member
    Posted 3 years ago #

    I got kind of the same error but this happened right after activating the plugin. The whole wp-admin crashed! The above fix worked but I only used it to get back into the wp-admin to disable the plugin and to remove it. Please provide a normal fix without hacking the WP core.

    "PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4864 bytes) in ......./wp-admin/includes/deprecated.php on line 106"

    WP version 3.0.3 on PHP 5.2.11

  4. eugenealegiojo
    Member
    Posted 3 years ago #

    Yes. Here is the fixed.

    In your .htaccess file, add the bit of code below:

    php_value memory_limit 64M

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic