[cvs] commit: imp/config conf.xml imp/lib/IMAP MessageCache.php
Michael M Slusarz
slusarz at horde.org
Tue Mar 11 05:00:38 UTC 2008
slusarz 2008-03-11 01:00:38 EDT
Modified files:
config conf.xml
lib/IMAP MessageCache.php
Log:
Rewrite message caching code to cache the information in chunks instead of
all messages in one file. This is really important for extremely large
mailboxes since the cache file can grow to be 1000's of messages, which takes
a lot of memory to unserialize and then reserialize when saving. I was seeing
issues with my spam folder (which contains 3,000+ messages) and out of memory
errors - I set my memory_limit to 64 M - prior to implementing this.
Revision Changes Path
1.117 +7 -1 imp/config/conf.xml
1.2 +226 -109 imp/lib/IMAP/MessageCache.php
Chora Links:
http://cvs.horde.org/diff.php/imp/config/conf.xml?r1=1.116&r2=1.117&ty=u
http://cvs.horde.org/diff.php/imp/lib/IMAP/MessageCache.php?r1=1.1&r2=1.2&ty=u
More information about the cvs
mailing list