[PHP] Why Fatal Error: Allowed memory size ...
Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on line 0 In PHP.INI memory_limit id 60M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Why Fatal Error ?
Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on line 0 In PHP.INI memory_limit id 60M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Why Fatal Error ?
This is the result of free [EMAIL PROTECTED] webmin]# free total used free sharedbuffers cached Mem:513936 444256 69680 0 157168 135476 -/+ buffers/cache: 151612 362324 Swap: 779104 0 779104 I think that memory is enough, or not ? Jay Blanchard [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] [snip] Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on line 0 In PHP.INI memory_limit id 60M. [/snip] Because there is not enough memory to allocate to? Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Why Fatal Error ?[Scanned]
Michael, this is the line: array_push($ret, $tmp[0]); But is very strange, till yesterday phpadmin ( a software for xmail server) worked fine, not reboot or other was done. After the error, I changed memory_limit from 8 to 60 to resolve, but with 8M yesterday worked fine. Sorry for my english and thank you in advance. Michael Egan [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] Tony, It might be that somewhere in your code there is a loop or while structure that has an error. This is running endlessly until you run out of memory which is when you see the error message. Check the structures within the code to ensure that they are correct. HTH, Michael Egan -Original Message- From: Tony Arcucci [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:33 To: [EMAIL PROTECTED] Subject: [PHP] Why Fatal Error ?[Scanned] Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on line 0 In PHP.INI memory_limit id 60M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php