[imp] Cannot download large folder
Andrew Morgan
morgan at orst.edu
Tue Jul 17 17:25:43 UTC 2007
On Tue, 17 Jul 2007, Otto Stolz wrote:
> Chuck Hagenbuch has answered:
> > I would try upping the memory limit first, to at least twice the size
> > of the largest folder that you want to be downloadable.
>
> Alas, that has not helped much. I have enlarged the limit, stepwise,
> up to 256 MB -- more than 6 times the respective folder's size (81 MB).
> The PHP error log has the following entry:
> > PHP Fatal error: Allowed memory size of 268435456 bytes exhausted
> > (tried to allocate 81942820 bytes)
> > in /var/srv/www/htdocs/webmail/horde/imp/lib/Folder.php on line 600
>
> I have just checked in the IMAP (Cyrus) server's file system that the
> folder in question does not have any subfolders (hence, a fortiory, has
> no softlinks on itself).
>
> What now, brown cow?
>
> Thanks for any hint,
> Otto Stolz
>From the PHP error message, your memory limit is still too low. A more
useful question might be, "Why does it require so much memory to download
a folder and how can the memory footprint be reduced?" Note - I can
trigger this error on my system also with a mailbox that is approximately
1/3 my php memory limit.
Andy
More information about the imp
mailing list