Is there a recommended PHP memory limit that should be used for DBFM? I have increased it from 8M to 16M to 32M ... and again now to 64M.

The most recent increase to 64M was because of the error message: Allowed memory size of 33554432 bytes exhausted (tried to allocate 17009641 bytes).

My users are obviously uploading large files. Is there any kind of recommended formular to use when deciding what PHP memory should be used? (i.e. max_file_size * 2 + 32M, etc) Or does the DBFM team recommend a minimum value to use?

I am using a shared server, and am new to PHP.

Thanks
robin

Comments

geoff_eagles’s picture

Well you've got to allow for just the background drupal stuff, and your other modules. dbFM itself needs more than twice as much memory as the largest file (and don't forget it's a multi-user system). We've set the limits on our servers at 128M and expect to deal with files of up to about 25M. We've had no problems with that since we started using it last September.

vegemite4me’s picture

Exactly the info I was looking for. Thank you.

(Can I suggest adding this to the readme.txt for other PHP newbies like me?)

geoff_eagles’s picture

Status: Active » Closed (fixed)