On Fri, 13 Nov 2009 18:27:23 +0100, "A.L.E.C" alec@alec.pl wrote:
Chris January wrote:
I gave the threading a quick test and looks ok to so far.
However with this revision Roundcube runs out of memory viewing a
mailbox
with about 160,000 messages in it (with threading *off*). It works fine in v0.3.
No problem here. What IMAP server. What sorting column? Enable imap_debug and check the log.
IMAP server: dovecot-1.2.4-1.fc11.i586
Sorting column: SORT (DATE) US-ASCII ALL
errors log:
[14-Nov-2009 09:03:17] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/cjanuary/public_html/devel-threads/program/lib/imap.inc on line 901
imap log:
[14-Nov-2009 09:03:47 +0000]: C: a001 LOGIN "***" "***" [14-Nov-2009 09:03:47 +0000]: S: a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH] Logged in [14-Nov-2009 09:03:47 +0000]: C: sel1 SELECT "Gmail" [14-Nov-2009 09:03:48 +0000]: S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) [14-Nov-2009 09:03:48 +0000]: S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft *)] Flags permitted. [14-Nov-2009 09:03:48 +0000]: S: * 163517 EXISTS [14-Nov-2009 09:03:48 +0000]: S: * 0 RECENT [14-Nov-2009 09:03:48 +0000]: S: * OK [UNSEEN 82179] First unseen. [14-Nov-2009 09:03:48 +0000]: S: * OK [UIDVALIDITY 1234311067] UIDs valid [14-Nov-2009 09:03:48 +0000]: S: * OK [UIDNEXT 163559] Predicted next UID [14-Nov-2009 09:03:48 +0000]: S: * OK [HIGHESTMODSEQ 1] [14-Nov-2009 09:03:48 +0000]: S: sel1 OK [READ-WRITE] Select completed. [14-Nov-2009 09:03:48 +0000]: C: s SORT (DATE) US-ASCII ALL [14-Nov-2009 09:03:50 +0000]: S: * SORT 54693 ... ... 1Mb worth of output - ~160,000 messages ... [14-Nov-2009 09:03:51 +0000]: S: s OK Sort completed (1.440 secs).
Chris