1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Fatal error: Out of memory (allocated 2359296) (tried to allocate 77824 bytes)

Discussion in 'PHP' started by profanitytalker, Jan 3, 2008.

  1. #1
    Can someone tell me whats wrong? Is it a mysql error or a php error? Also how to fix if possible. Thanks.
     
    profanitytalker, Jan 3, 2008 IP
  2. DarkMindZ

    DarkMindZ Guest

    Messages:
    175
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP error, you are trying to do something that needs so much memory, edit your PHP.ini to get more memory.. or optimise your script.
     
    DarkMindZ, Jan 3, 2008 IP
    profanitytalker likes this.
  3. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #3
    Add:
    set_time_limit(300);
    ini_set('memory_limit', '20000M');
    Code (markup):
    To the top of your script. Change the 20000M accordingly.
     
    papa_face, Jan 3, 2008 IP
    profanitytalker likes this.
  4. profanitytalker

    profanitytalker Well-Known Member

    Messages:
    1,487
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    150
    #4
    im using vbulletin. I don't what files to change.
     
    profanitytalker, Jan 3, 2008 IP
  5. profanitytalker

    profanitytalker Well-Known Member

    Messages:
    1,487
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    150
    #5
    *know* asd
     
    profanitytalker, Jan 3, 2008 IP
  6. Dagon

    Dagon Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Try putting it in your vbulletin config file.
     
    Dagon, Jan 3, 2008 IP
    profanitytalker likes this.
  7. profanitytalker

    profanitytalker Well-Known Member

    Messages:
    1,487
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    150
    #7
    alright thanks very guys. Rep added.
     
    profanitytalker, Jan 3, 2008 IP
  8. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #8
    Why you need extra memory to run VB? It is not normal.

    Peace,
     
    Barti1987, Jan 3, 2008 IP
  9. asneet

    asneet Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    maybe it's from ur host server
     
    asneet, Aug 21, 2008 IP