[RCD] Threads - first commit
alec at alec.pl
Sat Nov 14 12:55:28 CET 2009
Chris January wrote:
> IMAP server: dovecot-1.2.4-1.fc11.i586
I'm currently using dovecot-1.1.x
> 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
So, it is in iil_C_Sort()
> imap log:
> [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).
The log looks ok, but after SORT there should be FETCH, of course
there's no FETCH because the error. It's clear. There was no changes in
iil_C_Sort() and I have no idea what's wrong.
Please add before line 900:
write_log('imap', 'Mem: '.memory_get_usage());
And test with devel-thread and svn-trunk, please.
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
List info: http://lists.roundcube.net/dev/
More information about the Dev