[Tickets #4765] Out Of Memory errors not reported gracefully when sorting by Thread or using View Thread feature

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Dec 12 02:35:15 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4765
-----------------------------------------------------------------------
 Ticket             | 4765
 Created By         | neale at metawerx.net
 Summary            | Out Of Memory errors not reported gracefully when sorting by Thread or
                    | using View Thread feature
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


neale at metawerx.net (2006-12-12 02:35) wrote:

With a large amount of email in IMP, such as 5000 emails, clicking View
Thread or attempting to sort by thread results in a white-screen, and a
PHP error being thrown in the logs.

[Tue Dec 12 21:04:13 2006] [error] [client 111.111.111.111] PHP Fatal
error: 
Allowed memory size of 8388608 bytes exhausted (tried to allocate 40
bytes) 
in /www/webmail.metawerx.net/lib/Horde/IMAP/Thread.php on line 224

The default PHP5 install sets an 8MB limit per script.
php.ini: memory_limit = 8MB
With 64MB, this error no longer shows, so it just appears to need a larger
amount of memory than usually specified.

This should be reported as an error to the user by IMP instead of causing
a crash.





More information about the bugs mailing list