• Resolved circleabby

    (@circleabby)


    Hi –
    I’ve installed several plugins with WordPress, including BuddpyPress. I’ve begun getting the warning – “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home3/bingban1/public_html/wp/wp-admin/admin-header.php on line 116” – whenever I try to do anything with plugins. I’ve tried all the fixes I’ve found online (changing the memory allocation in the wp-config.php and wp-settings.php files) as well as increasing the PHP memory allocation on my server – nothing has fixed the problem. Any ideas would be greatly appreciated!
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just to make sure we are on the same page, here is the official list of four things to try:

    Increase the amount of memory a PHP script may consume. Note: If using a shared hosting service, you may need to ask your host to increase the limit.

    1. Increase the memory limit setting in php.ini (e.g. memory_limit = 64M ;). Many hosts may not allow this.
    2. Increase the memory limit via .htaccess (e.g. php_value memory_limit 64M). Many hosts may not allow this.
    3. Increase the memory limit via wp-config.php (e.g. define(‘WP_MEMORY_LIMIT’, ’64MB’);)

    From the Codex FAQ @ http://codex.wordpress.org/FAQ_Working_with_WordPress

    Don’t miss the one about contacting your host if nothing else works.

    Thread Starter circleabby

    (@circleabby)

    Got it! Turns out I also had to alter the PHP config settings with my host from PHP5
    to PHP5 (Single php.ini). Going back to them for answers did the trick.

    I appreciate the help!

    Can’t get past an 18meg limit.
    Tried all above fixes & upped server memory allocation, tried ‘memory bump’.
    Turned plugins off with no effect.
    Added php_value memory_limit xM to .htaccess & all I get is a 500 error when this line is present regardless of # of megs set.
    PHPinfo shows that 64m is allocated & available.

    Any attempt to upgrade or add some plugins bombs after hitting 18 8xx xxx bytes. e.g.:-
    Fatal error: Out of memory (allocated 18874368) (tried to allocate 77824 bytes)...

    This is hugely frustrating & obviously a frequent issue.
    Any help appreciated.

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

The topic ‘No Fixes Working for Fatal Error – Memory Exhausted’ is closed to new replies.