Support » Fixing WordPress » Fatal error: Allowed memory size of 33554432 bytes exhausted

  • Resolved MargieB

    (@margieb)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try increasing the memory available to PHP

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

    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~

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

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

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