6.0.0-beta1
10/18/25

[#4765] Out Of Memory errors not reported gracefully when sorting by Thread or using View Thread feature
Summary Out Of Memory errors not reported gracefully when sorting by Thread or using View Thread feature
Queue IMP
Queue Version 4.1.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester neale (at) metawerx (dot) net
Created 12/12/2006 (6885 days ago)
Due
Updated 12/12/2006 (6885 days ago)
Assigned
Resolved 12/12/2006 (6885 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/12/2006 10:55:21 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
It *is* reported as an error in imp/test.php. Such errors can't be 
catched at runtime.
12/12/2006 10:35:13 AM neale (at) metawerx (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Out Of Memory errors not reported gracefully when sorting by Thread or using View Thread feature
Queue ⇒ IMP
Reply to this comment
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.


Saved Queries