Hi,
I just install the new version, and when I want to see attached files (a big one), I have this error :
[05-Dec-2005 18:57:55] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1773552 bytes) in /var/www/roundcube/roundcubemail-cvs-20051203/program/lib/Mail/mimeDecode.php on line 388
Thanks for this great webmail !
Up the memory_limit value in your php.ini. If you don't have control of that, you're probably out of luck.
This happens because the entire attachment is cached in memory before sending it to the browser. The only way to fix this in all cases would be to act as a decoding proxy between the IMAP and browser and stream data through as it comes in. Don't even know if that's possible with the current code though.
-j
On Mon, 2005-12-05 at 22:40 +0100, marc wrote:
Hi,
I just install the new version, and when I want to see attached files (a big one), I have this error :
[05-Dec-2005 18:57:55] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1773552 bytes) in /var/www/roundcube/roundcubemail-cvs-20051203/program/lib/Mail/mimeDecode.php on line 388
Thanks for this great webmail !
On Dec 5, 2005, at 2:40 PM, marc wrote:
I just install the new version, and when I want to see attached
files (a big one), I have this error :[05-Dec-2005 18:57:55] PHP Fatal error: Allowed memory size of
8388608 bytes exhausted (tried to allocate 1773552 bytes) in /var/ www/roundcube/roundcubemail-cvs-20051203/program/lib/Mail/ mimeDecode.php on line 388
If you have access to the php.ini file, you should increase your
memory_limit to something that is 6 times the size of the largest
message possible plus 3MB.
http://lists.dorkzilla.org/archive/roundcube-dev/2005Oct/0477.html
This is one of the big drawbacks to RoundCube, poor memory
management. It will probably get fixed eventually, but right now
everyone is too fixated on making the interface pretty.
--lonnie
On Mon, 5 Dec 2005 16:36:03 -0700, Lonnie Olson fungus@aros.net wrote:
If you have access to the php.ini file, you should increase your
memory_limit to something that is 6 times the size of the largest
message possible plus 3MB.
Ok, its work, thanks.
Lonnie Olson wrote:
On Dec 5, 2005, at 2:40 PM, marc wrote: [...]
http://lists.dorkzilla.org/archive/roundcube-dev/2005Oct/0477.html
This is one of the big drawbacks to RoundCube, poor memory management. It will probably get fixed eventually, but right now everyone is too fixated on making the interface pretty.
OK, got the message! The only way to solve this is to re-write the PEAR Mail_mime package because multipart message composing is completely handled by it. The class should be modified to add all parts to a file instead of the memory and returning the file pointer. I see, that this is a necessary task and we'll take care of it (right after we finished polishing the UI ;-))
--lonnie
Regards, Thomas
On Dec 6, 2005, at 2:26 AM, Thomas Bruederli wrote:
OK, got the message! The only way to solve this is to re-write the PEAR Mail_mime package because multipart message composing is completely handled by it. The class should be modified to add all parts to a file instead of the memory and returning the file pointer. I see, that this is a necessary task and we'll take care of it (right after we finished polishing
the UI ;-))
I am sorry, I didn't mean to hurt your feelings. Besides a few small
issues like this one, RoundCube is by far the best webmail
application I have ever seen. Thank you very much for all your hard
work.
Perhaps when my workload becomes a bit more manageable, I can take a
closer look, and maybe send a few patches your way.
Again, Thank you, --lonnie