Articles in this section

Unable to send an email in Roundcube webmail hosted in Plesk: Allowed memory size of X bytes exhausted

Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux

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.

To make the changes permanent, check article

  1. Connect to the Plesk server via SSH.

  2. 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

  3. Increase the memory limit value:

    memory_limit = 256M

  4. Save the changes and close the file.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.