Please help me. Memory exausted error

Discussion in 'WordPress' started by vishal_gupta, Sep 9, 2010.

  1. #1
    Whenever I install a plugin I get this error.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 143385 bytes) in /home/xyz.com/public_html/wp-includes/class-http.php on line 1402

    i also increased php memory limit but the problem exists. Can anyone help me to resolve this problem??
     
    vishal_gupta, Sep 9, 2010 IP
  2. getpaidonlinejobs

    getpaidonlinejobs Peon

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try reinstalling
     
    getpaidonlinejobs, Sep 9, 2010 IP
  3. vishal_gupta

    vishal_gupta Well-Known Member

    Messages:
    161
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    113
    #3
    I have reinstalled wordpress and imported database many times but the problem still exists.
     
    vishal_gupta, Sep 9, 2010 IP
  4. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    it is because of more traffic than your hosting can provide you.in php.ini there is a parameter for max memory limit,for hosts like hostgator its set to 64mb,you can't increase it.

    the only way you can eliminate the error is remove more memory consuming plugins/codes or else get a VPS
     
    samkak, Sep 18, 2010 IP
  5. kiranheartbeats

    kiranheartbeats Well-Known Member

    Messages:
    788
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    105
    #5
    Try to add this line in you wp-config.php

     
    kiranheartbeats, Sep 18, 2010 IP