An urgent problem!! " Allowed memory size of 8388608 bytes exhausted ..."

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    An urgent problem!! " Allowed memory size of 8388608 bytes exhausted ..."

    Hi,

    Now I am using Red Hat Linux 8.0 + squirrelmail as mail server. One
    day, I got the following warning:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    allocate 35 bytes) in
    /usr/share/squirrelmail/functions/imap_messages.p hp
    on line 325

    I've been searching for the solution for quite a while, but still can
    not find it. Someone told me it's bug of PHP, someone said I could
    change the memory_limit in php.ini to a bigger value, say 20-30M.

    Who know which one is the correct one? Also, if I change memory_limit,
    how can I make it effective? or how to re-run php?

    Thanks!!
  • Erwin Moller

    #2
    Re: An urgent problem!! " Allowed memory size of 8388608 bytes exhausted ..."

    Joe wrote:
    [color=blue]
    > Hi,
    >
    > Now I am using Red Hat Linux 8.0 + squirrelmail as mail server. One
    > day, I got the following warning:
    >
    > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    > allocate 35 bytes) in
    > /usr/share/squirrelmail/functions/imap_messages.p hp
    > on line 325
    >
    > I've been searching for the solution for quite a while, but still can
    > not find it. Someone told me it's bug of PHP, someone said I could
    > change the memory_limit in php.ini to a bigger value, say 20-30M.
    >
    > Who know which one is the correct one?[/color]

    Hi,

    I know the second is correct.
    I don't know of any bug in PHP concerning imap_messages. Did you search the
    bugparade? Or ask the person in question where he/she did get this piece of
    wisdom?

    [color=blue]
    > Also, if I change memory_limit,
    > how can I make it effective? or how to re-run php?[/color]

    php.ini will be reevaluated if you restart apache
    (as root)
    /usr/sbin/apachectl --gracefull

    hope that helps.

    Regards,
    Erwin Moller
    [color=blue]
    >
    > Thanks!![/color]

    Comment

    Working...