RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.11k stars 892 forks source link

PHP Fatal error: Allowed memory size of xxx bytes exhausted - MailClient.php #1890

Open ebal opened 5 years ago

ebal commented 5 years ago

RainLoop version, browser, OS:

Expected behavior and actual behavior: Expected behavior: List mails (54608 msg) Actual behavior: Can't get message list

Steps to reproduce the problem:

maildir, folder with lots of emails.

Logs or screenshots:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /storage/www/RainLoop/rainloop/v/1.13.0/app/libraries/MailSo/Mail/MailClient.php on line 1602
PHP Fatal error:  Allowed memory size of 167772160 bytes exhausted (tried to allocate 72 bytes) in /storage/www/RainLoop/rainloop/v/1.13.0/app/libraries/MailSo/Mail/MailClient.php on line 1602
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /storage/www/RainLoop/rainloop/v/1.13.0/app/libraries/MailSo/Mail/MailClient.php on line 1602

image

Actions Taken Tried to increase memory_limit in php.ini but same error, every time.

# grep -r memory_limit /etc/php.ini 
;memory_limit = 128M
memory_limit = 256M

image

Yoda-BZH commented 4 years ago

Same here

RainLoop version, browser, OS: