Plesk

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

Symptoms

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.

  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.