[imp] Allowed memory size ... exhausted

Adrian Fita adrian.fita at gmail.com
Mon Jul 4 08:17:06 UTC 2011


Hi.

I'm encountering a problem when I connect to a user's mailbox. I think
there is something in the user's mailbox that IMP chokes and enters in
an infinite loop. I should mention that the user has mails with french
characters in them. I tried to increase the allowed memory in PHP, but
no matter how much I gave it, it still used it all up and stopped with
memory size exhausted.

Can you advise on how to debug this or how I can fix it?

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried
to allocate 72 bytes) in /var/www/horde4/imp/lib/Imap/Tree.php on line
1643

I have the following setup:
- OS: Ubuntu 8.04.4 LTS
- PHP: libapache2-mod-php5 Version: 5.2.4-2ubuntu5.17
- PEAR Version: 1.9.2

INSTALLED PACKAGES, CHANNEL PEAR.HORDE.ORG:
===========================================
PACKAGE                   VERSION STATE
Horde_ActiveSync          1.0.0   stable
Horde_Alarm               1.0.0   stable
Horde_Argv                1.0.0   stable
Horde_Auth                1.0.2   stable
Horde_Autoloader          1.0.0   stable
Horde_Browser             1.0.0   stable
Horde_Cache               1.0.3   stable
Horde_Cli                 1.0.0   stable
Horde_Compress            1.0.0   stable
Horde_Constraint          1.0.0   stable
Horde_Controller          1.0.0   stable
Horde_Core                1.0.2   stable
Horde_Crypt               1.0.1   stable
Horde_Data                1.0.0   stable
Horde_DataTree            1.0.0   stable
Horde_Date                1.0.0   stable
Horde_Date_Parser         1.0.0   stable
Horde_Db                  1.0.1   stable
Horde_Editor              1.0.0   stable
Horde_Exception           1.0.0   stable
Horde_Feed                1.0.0   stable
Horde_Form                1.0.0   stable
Horde_Group               1.0.0   stable
Horde_History             1.0.0   stable
Horde_Http                1.0.0   stable
Horde_Icalendar           1.0.0   stable
Horde_Image               1.0.0   stable
Horde_Imap_Client         1.0.4   stable
Horde_Imsp                1.0.0   stable
Horde_Injector            1.0.0   stable
Horde_Itip                1.0.0   stable
Horde_Kolab_Format        1.0.0   stable
Horde_Kolab_Server        1.0.0   stable
Horde_Kolab_Session       1.0.0   stable
Horde_Kolab_Storage       1.0.0   stable
Horde_Lock                1.0.0   stable
Horde_Log                 1.0.0   stable
Horde_LoginTasks          1.0.0   stable
Horde_Mail                1.0.0   stable
Horde_Memcache            1.0.1   stable
Horde_Mime                1.0.1   stable
Horde_Mime_Viewer         1.0.1   stable
Horde_Nls                 1.0.1   stable
Horde_Notification        1.0.0   stable
Horde_Oauth               1.0.0   stable
Horde_Pdf                 1.0.0   stable
Horde_Perms               1.0.0   stable
Horde_Prefs               1.0.0   stable
Horde_Rdo                 1.0.0   stable
Horde_Role                1.0.0   stable
Horde_Routes              1.0.0   stable
Horde_Rpc                 1.0.0   stable
Horde_Scribe              1.0.0   stable
Horde_Secret              1.0.0   stable
Horde_Serialize           1.0.1   stable
Horde_Service_Facebook    1.0.0   stable
Horde_Service_Twitter     1.0.0   stable
Horde_SessionHandler      1.0.0   stable
Horde_Share               1.0.1   stable
Horde_SpellChecker        1.0.0   stable
Horde_Stream_Filter       1.0.0   stable
Horde_Stream_Wrapper      1.0.0   stable
Horde_Support             1.0.0   stable
Horde_SyncMl              1.0.1   stable
Horde_Template            1.0.0   stable
Horde_Text_Diff           1.0.1   stable
Horde_Text_Filter         1.0.3   stable
Horde_Text_Filter_Csstidy 1.0.0   stable
Horde_Text_Flowed         1.0.0   stable
Horde_Token               1.0.0   stable
Horde_Translation         1.0.0   stable
Horde_Tree                1.0.0   stable
Horde_Url                 1.0.0   stable
Horde_Util                1.0.2   stable
Horde_Vfs                 1.0.1   stable
Horde_View                1.0.0   stable
Horde_Xml_Element         1.0.0   stable
Horde_Xml_Wbxml           1.0.0   stable
content                   1.0.0   stable
horde                     4.0.2   stable
imp                       5.0.3   stable
kronolith                 3.0.2   stable
mnemo                     3.0.0   stable
nag                       3.0.1   stable
timeobjects               1.0.0   stable
turba                     3.0.2   stable

INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
Archive_Tar      1.3.7   stable
Auth_SASL        1.0.4   stable
Cache            1.5.6   stable
Console_Getopt   1.3.0   stable
Crypt_Blowfish   1.0.1   stable
DB               1.7.13  stable
Date             1.4.7   stable
HTTP_Request     1.4.4   stable
MDB2             2.4.1   stable
Net_DNS2         1.1.0   stable
Net_FTP          1.3.7   stable
Net_IMAP         1.1.0   stable
Net_SMTP         1.5.2   stable
Net_Socket       1.0.10  stable
Net_URL          1.0.15  stable
PEAR             1.9.2   stable
Services_Weather 1.4.5   stable
Structures_Graph 1.0.4   stable
Text_Figlet      1.0.2   stable
XML_SVG          1.0.3   stable
XML_Util         1.2.1   stable

--
Fita Adrian


More information about the imp mailing list