nextcloud / nextcloud/mail

`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
#10,646 5 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.