`PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 11605029 bytes) in /var/www/html/nextcloud/apps/mail/lib/Db/MessageMapper.php on line 583`
Open
@SebastianKrupinski is already working on this.
Since Apr 23, 2025.
0. to triage
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
I regularly get emails like that from the cronjob: /usr/bin/php -f /var/www/html/nextcloud/cron.php. Please tell if you want me to run some debug commands to get more informative output.
Expected behavior
No memory overload. :-}
Actual behavior
Memory overload.
Mail app version
4.1.2
Nextcloud version
30.0.5
Mailserver or service
postfix
Operating system
Fedora
PHP engine version
PHP 8.3
Nextcloud memory caching
'memcache.local' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', 'memcache.distributed' => '\OC\Memcache\Redis',
Web server
Nginx
Database
PostgreSQL
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.