Looks like something else is already using ~10MB of memory, so when roundcube tries to get 6 more for the attachment, it fails. At least that would be my guess. How much memory are the apache/php processes using at idle?

--Brian Jackson

On May 24, 2007, at 8:09 AM, Hager Renaud wrote:

Hi everybody,

I installed the rc-1 version of roundcube, after configuration of main.inc.php, db.inc.php .htaccess and php.ini.
I can't join to my email attachment with a size superior to 2MB, I have this message :

[24-May-2007 15:00:51] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 6321677 bytes) in /var/www/roundcube/program/lib/Mail/mimePart.php on line 283

I check my configuration with the phpinfo() function and upload_max_size, post_max_size and memory_limit  set at 16M (local and global value).

Do you have any ideas to fixe that ?

Sincerely,

Renaud Hager

-- 
_______________________________

Renaud Hager - Administrateur Systèmes et Réseaux



CNRS - UMR 8504 Géographie-cités
13, rue du Four F-75006 PARIS
Tel. 33 (0)1 40 46 40 02 - Fax 33 (0)1 40 46 40 09 

E-mail: rhager@parisgeo.cnrs.fr