You need to increase your php memory limit in the php.ini file:
I use this: memory_limit = 64M
I have only seen RC use 20 megs.
On Mon, 10 Apr 2006, Alexis Domjan wrote:
Hello,
When opening some MIME messages (generally with attachments or something like this) I get a "zero sized reply" from the webserver, caused by a memory allocation error of php4 module. The error is reported in the /logs/errors file of RC; here's the transcript:
[10-Apr-2006 14:25:34] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1419154 bytes) in /data/.home/www/horus.ch/www/roundcubemail/program/lib/Mail/mimeDecode.php on line 388
It happens in the mimeDecode.php file at this line:
if (preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $input, $match)) { return array($match[1], $match[2]); }
So, it looks like the perl-like regular expression on a too long message needs too much memory and it somehow dies.
I'm not a php-freak so I've no real idea how to solve this.
Should I have posted that in the bugs tracking system ?
Thanks for your help, kind regards -- Alexis Domjan adomjan@horus.ch
Jon Daley http://jon.limedaley.com/
If you want to make enemies, try to change something. -- Woodrow Wilson