Author Topic: memory size issue with attachement  (Read 5841 times)

tparvais

  • Guest
memory size issue with attachement
« on: June 18, 2013, 04:11:49 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: memory size issue with attachement
« Reply #1 on: June 18, 2013, 10:12:15 AM »
Is the RoundCube temp directory writable?

tparvais

  • Guest
Re: memory size issue with attachement
« Reply #2 on: June 18, 2013, 10:16:29 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: memory size issue with attachement
« Reply #3 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.

tparvais

  • Guest
Re: memory size issue with attachement
« Reply #4 on: June 19, 2013, 03:20:23 AM »
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