Allowed memory size of 16777216 bytes exhausted

Discussion in 'General' started by rrgv, Oct 10, 2008.

  1. rrgv

    Joined:
    Jun 29, 2008
    Messages:
    5
    Likes Received:
    0
    I have installed and config a2billing 1.3.4 (last version), works ok but cannot see anything (just a blank page) in some CALL REPORTS pages like:

    Calls Compare
    Daily Load

    in tail -f /var/log/httpd/error_log
    Allowed memory size of 16777216 bytes exhausted (tried to allocate 10 bytes)

    any idea?

    rafael
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    edit /etc/php.ini

    find the following section:

    max_execution_time = 30 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 16M ; Maximum amount of memory a script may consume


    try the following combination:
    max_execution_time = 60
    max_input_time = 120
    memory_limit = 32M


    if you a have a lot of results to present on the web interface try:
    max_execution_time = 120
    max_input_time = 240
    memory_limit = 64M

    just in case, restart httpd

    I hope that will help you
     

Share This Page