what is the problem :Mad:

Discussion in 'PHP' started by me4you, May 7, 2008.

  1. #1
    Fatal error: Allowed memory size of 4194304 bytes exhausted (tried to allocate 4864 bytes) in /home/fhlinux147/e/****.co.uk/user/htdocs/libraries/joomla/document/document.php on line 456


    I got following error for one of my joomla site, what is the problem. :mad:

    it was ok previously.

    Thanks.
     
    me4you, May 7, 2008 IP
  2. riya_senk

    riya_senk Well-Known Member

    Messages:
    2,014
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Its using more memory then it should use, Currently assigned memory is only 4mb, tell your admin to increase it.
     
    riya_senk, May 7, 2008 IP
  3. google.com

    google.com Banned

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I thinks ur banwith or the memory will be less
     
    google.com, May 7, 2008 IP
  4. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #4
    type
    echo ini_get("memory_limit");

    check if ur on the servers memory limit..

    well if you are really exhausting the limit theres a risk of updating the memory and restarting the server. anyways im not quite sure of the risk when updating memory..

    ini_set("display_errors",'off');
     
    bartolay13, May 7, 2008 IP
  5. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #5
    we have encounter this error, we used to edit the memory_limit and request to restart our server..
     
    bartolay13, May 7, 2008 IP
  6. me4you

    me4you Well-Known Member

    Messages:
    1,989
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    155
    #6
    what does it mean ?

    neeed 4194304 bytes memory ?
     
    me4you, May 7, 2008 IP
  7. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #7
    its equal to 4.2 MB (I guess, not that good in math)
    try replacing the memory to 8MB in the memory limit..
     
    bartolay13, May 7, 2008 IP