Fatal error: Allowed memory size of ....

Discussion in 'WordPress' started by mjorge, Mar 9, 2008.

  1. #1
    Some days ago until now each time I post at y wordpress blog, I get the following error afer hit publishing:

    "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6689087 bytes) in /home/myname/public_html/blog/wp-includes/cache.php on line 48"

    The posts appear fine anyway. How can I fix this?
     
    mjorge, Mar 9, 2008 IP
  2. wragge11

    wragge11 Guest

    Messages:
    2,222
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is this a wordpress site?

    What type of hosting are you using - and what traffic are you getting?
     
    wragge11, Mar 9, 2008 IP
    wisdomtool likes this.
  3. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,825
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #3
    You need to change the php.ini memory_size variable to a bigger value than 3MB
     
    wisdomtool, Mar 9, 2008 IP
  4. mjorge

    mjorge Well-Known Member

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Humm, thks. Yes it's a wordpress blog. I´m getting 2000 visitors / day. I wil change the value on php.ini
     
    mjorge, Mar 9, 2008 IP
  5. wragge11

    wragge11 Guest

    Messages:
    2,222
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It seems the visitors you are getting are pushing the site too hard. Changing to php.ini should help; you can also change it in WHM if you use cPanel!
     
    wragge11, Mar 9, 2008 IP
  6. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Also adjust your execution time.

    If the site is lagging at all you want to be sure the execution time is not exceeded as well.
     
    LittleJonSupportSite, Mar 9, 2008 IP
  7. mjorge

    mjorge Well-Known Member

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #7
    Ok, thks. I will try to solve the problem following your suggestions...
     
    mjorge, Mar 10, 2008 IP