Roundcube Community Forum

 

Another funny PHP Fatal Error ....

Started by beislhur, August 04, 2007, 09:19:09 AM

Previous topic - Next topic

beislhur

[04-Aug-2007 15:01:29] PHP Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 2132763 bytes) in /srv/www/htdocs/roundcubemail-0.1-rc1/program/lib/Mail/mimePart.php on line 226

It seems roundcube didn't attend primary school ;D
The error occured when I tried to send a message with a 1,5MB file attached to it......
...same message was sent ok without attachment ....

Please help!!!

preinheimer

While it is true that 2132763 is less than 12582912, what the message is saying is that "I tried to allocate X bytes of memory, but that would have exceeded the maximum of Y." Even if X < Y, the application has already allocated a bunch of memory before that line of execution, so amount used already + X > Y which is the problem. Try increasing the memory limit for that virtual host, or the roundcubemail directory in particular.