[imp] Problem with IMP drafts folder
Conor Kerr
conor@dev.ceon.net
Sat Oct 19 15:36:45 2002
Hi,
I have just installed Horde and IMP from CVS and have configured both as
necessary. Everything works fine apart from one small problem:
If I save a message as a draft then I get a "Server Hangup" error so I
have to log in again. When I do attempt to log in again I get the same
error and am unable to progress any further.
I have identified this as a problem with the existance of the "drafts"
folder within my "mail" folder. If I remove the drafts folder I can log
in again without any errors.
The existance of the "sent-mail" and "trash" folders prove ot be no
problem and do no affect my ability to log into IMP.
I have several accounts on my server and only the account which has
created a "drafts" folder fails (I must stress again that it no longer
fails when this folder is deleted).
If I don't use IMP and simply use my desktop e-mail software to log into
my IMAP account I have no problems, even if the draft folder exists so
this error has to be related to IMP/PHP.
The error message I am getting in my Apache error_log file is:
FATAL: erealloc(): Unable to allocate 2013265920 bytes
As you can see IMP/PHP is somehow trying to allocate 2GB of memory just
because the drafts folder exists!
For the minute I am going to continue using IMP without making use of
the drafts folder/feature but I'd really like to get this fixed... is
this a known bug with the latest CVS version of IMP? Can anyone
replicate this error?
If it helps I am using PHP4.3.0pre1.
Thanks for any help!
All the best...
Conor