Allowed memory size of 8388608 bytes exhausted. What does it mean?

Discussion in 'PHP' started by baris22, Sep 30, 2007.

  1. #1
    I have got this error. What does it mean? Is it anything to do with my mysql settings?

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in C:\AppServ\www\down\a.php

    Thanks
     
    baris22, Sep 30, 2007 IP
  2. baris22

    baris22 Active Member

    Messages:
    543
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    ok. sorted. it was to do with memory_limit on php.

    Thanks
     
    baris22, Sep 30, 2007 IP
  3. rickvb

    rickvb Active Member

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Did increase max memory limit help?
     
    rickvb, Oct 1, 2007 IP
  4. baris22

    baris22 Active Member

    Messages:
    543
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    No it did not work. I increased to 10mb first, then 20mb then 100mb. It did not worked. I realised that there was a problem on database.

    I used bigdump to dump the database. I realised that bigdump did not support my charset settings. But suprisingly it did not give any error message.

    I dumped it manually then it worked.
     
    baris22, Oct 1, 2007 IP
  5. rickvb

    rickvb Active Member

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #5
    I'm having the same kind of problems after using bigdump, hope your solution works for me too.
     
    rickvb, Oct 4, 2007 IP
  6. lhaizza

    lhaizza Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This is great Im also having this problem hoping it will also work on my end. Thank you.
     
    lhaizza, Oct 5, 2007 IP
  7. WaQas

    WaQas Well-Known Member

    Messages:
    170
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    113
    #7
    you should also set MySQL Packet Size .....
     
    WaQas, Oct 6, 2007 IP