Symptoms
-
When sending/opening an email with attachment in Roundcube, nothing happens.
-
the following error message is logged in
/var/log/plesk-roundcube/errors
:PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16128 bytes) in /usr/share/psa-roundcube/...
Cause
Roundcube PHP memory limit exceeded.
Resolution
Warning: the changes will be reverted during the next Roundcube package update. The value of memory_limit
directive is reset to default of 64M.
-
Connect to the Plesk server via SSH.
-
Open the file
/etc/psa-webmail/roundcube/php.ini
in a text editor. In this example, we are using the vi editor:# vi /etc/psa-webmail/roundcube/php.ini
-
Increase the memory limit value:
memory_limit = 256M
-
Save the changes and close the file.