solve wordpress memory allocation error

Discussion in 'Programming' started by seo.buzzer, Jan 23, 2012.

  1. #1
    Hello

    my website http://seozz.in/

    has error of memory allocation error

    my memory limit is 64M

    any one give me solution for this?
     
    seo.buzzer, Jan 23, 2012 IP
  2. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #2
    Configure/Reconfigure your php.ini file (cPanel allows you to do this most of the time).

    You could also try and increase the memory limit within wp-config.php, Look for the below line
    
    define('WP_MEMORY_LIMIT', '64M');
    
    Code (markup):
    If you cannot find it add this
    define('WP_MEMORY_LIMIT', '96M');
    Code (markup):


    Otherwise speak with your Hosting provider.

    EDIT:::
    After looking at your site... I see the following.

    Allowed memory size of 256MB exhausted (either set in your config, or overall daemon config)...
    Your WP install is trying to allocate 3.2MB of Memory, which it is unable to do due to the above.

    Is this a VPS or Server you manage? Or provided by a Service Provider?
     
    Last edited: Jan 23, 2012
    PsyHost, Jan 23, 2012 IP
  3. Scoding

    Scoding Well-Known Member

    Messages:
    1,091
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    cPanel allows you to change php.ini? Since what version?

    WHM(if you don't have it - ask your host if they can do something about it, most will say no as they risk high system loads) will allow you under service configuration or via ssh(plenty of guides online) Just dont forget to restart httpd(apache) after you edit it.
     
    Scoding, Jan 23, 2012 IP
  4. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #4
    My bad. I meant whm, not sure why I wrote cpanel :\
     
    PsyHost, Jan 23, 2012 IP
  5. seo.buzzer

    seo.buzzer Peon

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    in php ini

    Resource Limits memory_limit 32M

    so is will increase by WHM or my hosting provider?
     
    seo.buzzer, Jan 23, 2012 IP