Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1228)

Discussion in 'WordPress' started by sagarrai000, Dec 10, 2010.

  1. #1
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/wilsonre/public_html/wp-admin/admin-header.php on line 120

    Hey I'm getting severe error while loading /wp-admin or /wp-login.php

    The homepage is loading fine but not the backend admin panel

    I triead adding define('WP_MEMORY_LIMIT', '64M');

    on wp-settings.php , wp-admin.php , and also wp-config.php

    BUT Still I'm keep on getting the fatal error.

    Please someone help me. I read few forum but all suggest increasing memory but that dint work.

    And why do this cause a error. I use wordpress on many place but some places it works charming and in some this way?

    Is it the issue with webhost or wordpress?

    I install the latest version available on wordpress.org
     
    sagarrai000, Dec 10, 2010 IP
  2. arunbasillal

    arunbasillal Peon

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could try these if you havent already:

    1. Which version of wordpress are you using? Upgrade to the latest one.
    2. Go to your Cpanel and increase the memory limit to 64M. That should work (it worked for me last time)
     
    arunbasillal, Dec 10, 2010 IP
  3. cenedy

    cenedy Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Where i found the option to increasing the memory limit to 64M
     
    cenedy, Dec 10, 2010 IP
  4. sagarrai000

    sagarrai000 Peon

    Messages:
    1,475
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It shows me that you havn't read my instruction properly. As I mentioned clearly that I installed latest version of WP from wordpress.org and also I have inserted define('WP_MEMORY_LIMIT', '64M');
    on wp-config, wp-settings and wp-admin.php BUT no USE >>
     
    sagarrai000, Dec 10, 2010 IP
  5. arunbasillal

    arunbasillal Peon

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Go to your Control Panel and Check the PHP configuration. see if memory_limit is 64M or more. Else, contact your host and report this thing to them. They are the ones who can increase your memory limit. I dont think define('WP_MEMORY_LIMIT', '64M'); would work.
     
    arunbasillal, Dec 10, 2010 IP
  6. more_sem

    more_sem Peon

    Messages:
    299
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The problem lies with your host. Seems you are using a Shared Hosting Server. The server not being able to allocate 64 MB of memory is quite a shame. Have a strong word with your host. or change your host. Using RackSpace Cloud would be a better option if you are changing host, As it is Cloud Hosting is gaining a lot of momentum.
     
    more_sem, Dec 10, 2010 IP
  7. arunbasillal

    arunbasillal Peon

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hostgator is also a great option :)
     
    arunbasillal, Dec 11, 2010 IP
  8. sagarrai000

    sagarrai000 Peon

    Messages:
    1,475
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yes I guess it was problem with the webhost. BUT what I did is DEACTIVATED few plugin [mostly 1 or 2] and it WORKED charm.
     
    sagarrai000, Dec 12, 2010 IP
  9. arunbasillal

    arunbasillal Peon

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    sounds good :)
     
    arunbasillal, Dec 12, 2010 IP
  10. willy4987

    willy4987 Active Member

    Messages:
    419
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #10
    i ever got error like this
    i only contact my customer support hosting and finally they fixed :)
     
    willy4987, Dec 12, 2010 IP