Hi list,
Thanks to Thomas et al (inc. your GF for her patience) for the new version, RC is really shaping up to be something great.
Using the CVS snapshot listed below, I'm experiencing an error when trying to view the "Folders" tab under "Personal Settings". Clicking the "Folders" tab results in a thrashing HDD (and top shows apache eating processor cycles), and eventually it times out (2-3 mins) with this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2049 bytes) in /var/www/roundcubemail-cvs-20051203/program/lib/imap.inc on line 105
Memory_limit in php.ini was set to 32MB (33554432 bytes) so for s&g I upped that to 48MB which resulted in the same problem, but with 50331648 bytes (i.e 48MB) in the error message, and slightly longer timeout. Both these messages were duplicated in /.../roundcubemail-cvs-20051203/logs/errors (only lines in the file).
This is on a mailbox with Inbox (1 message), Sent (1 message) and Trash (empty) folders.
System: linux, apache 1.3.34, php 4.4.1, MySQL 4.14, sendmail 8.13, Pine/UW Imapd 4.64, everything running on local machine.
RC CVS 20051203 (linked in orig. message below) installed from scratch. The 0.1-20051021 release ran fine on this setup, scrapped everything (DBs etc) and did a fresh install.
Anyone shed any light on this?
Cheers,
Owen
Thomas Bruederli wrote:
Hi everybody
After two days of intensive coding (now my girlfriend is offended) I finally rebuilt the caching mechanism which caused many problems and performance issues. Therefore a new database table (messages) was created. There also have been minor changes to the database so please check the SQL scripts.
Together with the new caching process, server side sorting was also implemented. When showing the message list, only one page is retrieved from the server and cached.The message cache is complete, after every page has been loaded once. After that, RC attempts just to synchronize the changes. Even if the cache is not complete the loading time should decrease since there's only the message index transmitted and already cached headers will not be reloaded. For further development I will try to start a child process to fetch all message headers in the background but not making the interface wait for it.
The new caching implementation is not tested well and that's why I would like the experienced RoundCube administrators and developers to try out the latest CVS. Because the public CVS repository updates several hours or days later, I added a snapshot here: http://prdownloads.sourceforge.net/roundcubemail/roundcubemail-cvs-20051203....
I also reworked the database class and tested RoundCube with MySQL, SQLite and Postgres. All initial SQL scripts have been updated and RC should now work correctly with Postgres. Probably there could be some optimization with Postgres but I'm not very familiar with it.
For all Postgres users out there, please test RoundCube and don't hesitate to post bugs or suggestions here.
Last but not least, I have included the patch for signatures (thanks Craig) and added a drop-down with a charset selection when composing a message. I know that there are still some issues with character encoding especially when getting things over XMLHTTP.
Well, that's it for the moment. Next I'll take care of the message searching functionality and after that I think we're ready for an official Beta release.
Thanks for your patience! Thomas
P.S. The MDB2 implementation is currently broken and the library is not included in the package.