WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fatal error: Allowed memory size of 33554432 bytes exhausted (4 posts)

  1. MargieB
    Member
    Posted 3 years ago #

    I'm relatively new to editing code for my WP site. I've searched the forums for help about this error code (full code at bottom of post) and found advice that mentions increasing the memory limit. Can't find that reference in my wp-config file.

    Went to the file listed in the error (wp-admin/menu.php and searched for line 235.
    Here's what's on that line:
    $_wp_real_parent_file['wpmu-admin.php'] = 'ms-admin.php';

    It originally started after I installed several different plug-ins. I followed the advice to deactivate each plug-in, one at a time, to no avail. I then uninstalled all of the plug-ins except askismet. Reinstalled Google Analyticator and started getting fatal errors again.

    Can any of you experienced users please help me undo this error? Thank you! :)
    -mab

    FULL ERROR:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/fulfill3/public_html/home/wp-admin/menu.php on line 235

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try increasing the memory available to PHP

    http://wordpress.org/support/topic/253495#post-1017842

  3. MargieB
    Member
    Posted 3 years ago #

    Thank you for referring me to that particular forum post. The others I found all mentioned replacing the memory limit line ... but my wp-config filed didn't have the memory line to begin with.

    The forum post you referred me to suggested ADDING the line -- which I could do! :)

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

    And it worked. Although, I chose to increase my memory to more than 32M based on other suggested posts.

    ~Thank you~

  4. shuth
    Member
    Posted 3 years ago #

    Just put this code on your wp-config.php file

    define('WP_MEMORY_LIMIT', '64M');

Topic Closed

This topic has been closed to new replies.

About this Topic