Roundcube Community Forum

 

memory size issue with attachement

Started by tparvais, June 18, 2013, 04:11:49 AM

Previous topic - Next topic

tparvais

Hello

With R.C. 0.9.2 running on Virtual Server (2GB RAM...). PHP 5.4.7 on IIS 7.5

I have problems to upload attachement of 1MB in my mail:

[18-Jun-2013 08:07:31 UTC] PHP Fatal error:  Allowed memory size of 50331648 bytes exhausted (tried to allocate 2941673 bytes) in C:\inetpub\wwwroot\roundcube\program\lib\Roundcube\rcube_db.php on line 631
Php.ini configuration:

memory_limit = 48M
upload_max_filesize = 12M


I've tried to increase memory limit to 128MB.... no change

I can only upload small files of few 100kB's

Any idea ? I see this as a very old issue, strange this has not been yet fixed ?

Thank you

SKaero

Is the RoundCube temp directory writable?

tparvais

Quote from: SKaero on June 18, 2013, 10:12:15 AM
Is the RoundCube temp directory writable?

Yes, because I can send "small" attachments successfully

it seems around 500kB size, I start to have this memory issue

Thomas

SKaero

Small attachments aren't necessarily put in the temp directory but large one need to be and if the temp folder isn't writable you'll run into this problem.

tparvais

Quote from: SKaero on June 18, 2013, 02:00:43 PM
Small attachments aren't necessarily put in the temp directory but large one need to be and if the temp folder isn't writable you'll run into this problem.

Hello

I checked my /temp folder

iusr and iis_iusr have the R/W rights , this is ok for me

my phpinfo: http://webmail.parvais.com/phpinfo.php