Fatal error: Allowed memory size Exhausted!

Discussion in 'Installation/Configuration' started by griffinwebnet, Sep 10, 2011.

  1. griffinwebnet

    griffinwebnet New Member

    Hi All,

    I have been using ispconfig3 for about a year with no problems, however suddenly, i am recieveing this error:

    Code:
    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 261900 bytes) in Unknown on line 0
    What does this mean and how do i fix it. Any help would be appreciated.

    Thanks in advance,
    JL Griffin
     
  2. erosbk

    erosbk New Member

    Looks like a php script is trying to use more memory than allowed in php. You could try ini_set("memory_limit","20M"); for the site with the error, or just add memory_limit = 20M in a custom php.ini for the site.
     
  3. griffinwebnet

    griffinwebnet New Member

    except the error is for the actual ispconfig control panel. Example: example.com:8080

    thats wwhen i get the error.

    -JL
     
  4. griffinwebnet

    griffinwebnet New Member

    ok i figured it out. i had to edit php.ini in /etc/php5/apache2 instead of the one in /etc/php5/cgi

    Its Fixed Now. :)
     

Share This Page