# After upgrade to 31.0.6: Fatal Request used more than 300MB of RAM: 530.8MB

**URL:** <https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602>\
**Category:** ℹ️ Support\
**Tags:** github\_issue\_exists, nc31\
**Created:** [June 26, 2025, 3:59pm UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602 "2025-06-26T15:59:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Epo\_Deluxe](https://help.nextcloud.com/letter_avatar/epo_deluxe/32/5_5575768a8748004e209b776fc1b2916d.png) [@Epo\_Deluxe](https://help.nextcloud.com/u/Epo_Deluxe)\
**Post date:** [June 26, 2025, 3:59pm UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/1 "2025-06-26T15:59:25Z")

</div>

I just upgraded my NC installation from 31.0.4 to 31.0.6

Since this i get these log entries:

```auto
Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:42:16

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:24:38

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:21:11

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:16:56

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:08:36

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 17:00:30

Fatal
core
Request used more than 300 MB of RAM: 530.8 MB

26.06.2025, 16:59:10

Fatal
core
Request used more than 300 MB of RAM: 530.7 MB

26.06.2025, 16:58:49

Fatal
core
Request used more than 300 MB of RAM: 530.7 MB

26.06.2025, 16:51:09

```

And system shows load around 100%

 ![image](https://help.nextcloud.com/uploads/default/original/3X/a/b/abc02fe98cfb7aab07a8e59266190e3c48d4077b.png)

```auto
{
    "instanceid": " ***REMOVED SENSITIVE VALUE***",
    "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
    "secret": " ***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "dxxxx.com"
    ],
    "trusted_proxies": " ***REMOVED SENSITIVE VALUE***",
    "datadirectory": " ***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "31.0.6.2",
    "overwrite.cli.url": "https:\/\/dxxxxxx.com",
    "dbname": " ***REMOVED SENSITIVE VALUE***",
    "dbhost": " ***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": " ***REMOVED SENSITIVE VALUE***",
    "dbpassword": " ***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "overwritehost": "dxxxx.com",
    "activity_expire_days": 14,
    "allow_local_remote_servers": true,
    "auth.bruteforce.protection.enabled": true,
    "forbidden_filenames": [
        ".htaccess",
        "Thumbs.db",
        "thumbs.db"
    ],
    "cron_log": true,
    "default_phone_region": "DE",
    "defaultapp": "files,dashboard",
    "enable_previews": true,
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\Movie",
        "OC\\Preview\\PDF",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown"
    ],
    "filesystem_check_changes": 0,
    "filelocking.enabled": "true",
    "htaccess.RewriteBase": "\/",
    "integrity.check.disabled": false,
    "knowledgebaseenabled": false,
    "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
    "loglevel": 2,
    "logtimezone": "Europe\/Berlin",
    "log_rotate_size": "104857600",
    "maintenance": false,
    "maintenance_window_start": 1,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "overwriteprotocol": "https",
    "preview_max_x": 1024,
    "preview_max_y": 768,
    "preview_max_scale_factor": 1,
    "profile.enabled": false,
    "redis": {
        "host": " ***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0.5,
        "dbindex": 1
    },
    "quota_include_external_storage": false,
    "share_folder": "\/Freigaben",
    "skeletondirectory": "",
    "theme": "",
    "trashbin_retention_obligation": "auto, 7",
    "updater.release.channel": "stable",
    "mail_from_address": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtpsecure": "ssl",
    "mail_smtphost": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpname": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": " ***REMOVED SENSITIVE VALUE***"
}

```

Can somebody please let me know what to do or if you need more information.

Kind regards

---

<div class="post-metadata">

**Author:** ![geoW](https://help.nextcloud.com/user_avatar/help.nextcloud.com/geow/32/67506_2.png) [@geoW](https://help.nextcloud.com/u/geoW)\
**Post date:** [June 28, 2025, 4:24am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/2 "2025-06-28T04:24:20Z")

</div>

Hi,  
just want to say, you are not allone, I observe the same message.  
On my site I keep it on the “observation list”, no further action taken, system up and running.

---

<div class="post-metadata">

**Author:** ![Epo\_Deluxe](https://help.nextcloud.com/letter_avatar/epo_deluxe/32/5_5575768a8748004e209b776fc1b2916d.png) [@Epo\_Deluxe](https://help.nextcloud.com/u/Epo_Deluxe)\
**Post date:** [July 1, 2025, 11:42am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/3 "2025-07-01T11:42:00Z")

</div>

OK.

Thx for your input.

---

<div class="post-metadata">

**Author:** ![Gotzon](https://help.nextcloud.com/letter_avatar/gotzon/32/5_5575768a8748004e209b776fc1b2916d.png) [@Gotzon](https://help.nextcloud.com/u/Gotzon)\
**Post date:** [September 3, 2025, 10:54am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/4 "2025-09-03T10:54:29Z")

</div>

Same error here, I didn’t know why… my php.ini memory\_limit is 1024 MB.

In my case, i am running nextcloud 31.0.8

---

<div class="post-metadata">

**Author:** ![Stefan\_Lelieveld](https://help.nextcloud.com/user_avatar/help.nextcloud.com/stefan_lelieveld/32/49485_2.png) [@Stefan\_Lelieveld](https://help.nextcloud.com/u/Stefan_Lelieveld)\
**Post date:** [October 14, 2025, 1:57pm UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/5 "2025-10-14T13:57:23Z")

</div>

Same Error here, php.ini memory limit at 2G, running version 31.0.9 at the moment on AlmaLinux 9.6 with PHP 8.4.13 in a VM with 6GB RAM assigned.

Please advise.

---

<div class="post-metadata">

**Author:** ![Mornsgrans](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mornsgrans/32/40386_2.png) [@Mornsgrans](https://help.nextcloud.com/u/Mornsgrans)\
**Post date:** [October 14, 2025, 6:26pm UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/6 "2025-10-14T18:26:03Z")

</div>

Seems to be this issue:

> <https://github.com/nextcloud/server/issues/52997>
>
> \### ⚠️ This issue respects the following points: ⚠️
> 
> \- \[x\] This is a \*\*bug\*\*, no…t a question or a configuration/webserver/proxy issue.
> \- \[x\] This issue is \*\*not\*\* already reported on \[Github\](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR \[Nextcloud Community Forum\](https://help.nextcloud.com/) \_(I've searched it)\_.
> \- \[x\] Nextcloud Server \*\*is\*\* up to date. See \[Maintenance and Release Schedule\](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
> \- \[x\] I agree to follow Nextcloud's \[Code of Conduct\](https://nextcloud.com/contribute/code-of-conduct/).
> 
> \### Bug description
> 
> Since upgrading to 31.0.5.1 (from 31.0.4.1) I get these:
> \> Request used more than 300 MB of RAM: 304.1 MB
> 
> The underlying problem started somewhere in v30 (I just decreased max thread count to reduce contention after failing to identify any clear single root cause), but I did not see \[the backported warning\](https://github.com/nextcloud/server/pull/52219) before that upgrade.
> 
> \### Steps to reproduce
> 
> 1. install or upgrade to 31.0.5.1
> 2. use python \`requests\` (\`2.25.1+dfsg-2ubuntu0.1\`) to call PROPFIND on a non-empty folder (\`Depth: 1\` suffices)
> 3. observe excessive memory consumption (already the case earlier) and a warning (newly introduced)
> 
> 
> \### Expected behavior
> 
> Clearly listing a directory of 1200 files \*should not\* need 300MB. But the warning does not point to relevant commands to be executed to diagnose it once emitted, and I could not find specific references in the documentation either.
> 
> \### Nextcloud Server version
> 
> 31
> 
> \### Operating system
> 
> Debian/Ubuntu
> 
> \### PHP engine version
> 
> PHP 8.1
> 
> \### Web server
> 
> Nginx
> 
> \### Database engine version
> 
> PostgreSQL
> 
> \### Is this bug present after an update or on a fresh install?
> 
> None
> 
> \### Are you using the Nextcloud Server Encryption module?
> 
> Encryption is Disabled
> 
> \### What user-backends are you using?
> 
> \- \[\] Default user-backend \_(database)\_
> \- \[\] LDAP/ Active Directory
> \- \[x\] SSO - SAML
> \- \[\] Other
> 
> \### Configuration report
> 
> \`\`\`json
> {
> "system": {
> "version": "31.0.5.1",
> "connectivity\_check\_domains": \[\],
> "check\_for\_working\_wellknown\_setup": false,
> "secret": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "trusted\_domains": \[
> "\*\*\*WHY DID occ config:list system NOT CONSIDER THIS SENSITIVE?\*\*\*"
> \],
> "datadirectory": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbtype": "pgsql",
> "dbname": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbhost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbport": "",
> "dbtableprefix": "oc\_",
> "dbuser": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbpassword": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "installed": true,
> "maintenance\_window\_start": 21,
> "debug": false,
> "default\_phone\_region": "DE",
> "instanceid": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "updatechecker": false,
> "upgrade.disable-web": true,
> "updater.server.url": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "updater.release.channel": "stable",
> "skeletondirectory": "",
> "default\_language": "de",
> "overwrite.cli.url": "\*\*\*WHY DID occ config:list system NOT CONSIDER THIS SENSITIVE?\*\*\*",
> "htaccess.RewriteBase": "\\/",
> "allow\_local\_remote\_servers": true,
> "loglevel": 2,
> "log\_type": "syslog",
> "syslog\_tag": "nextcloud",
> "logfile": "",
> "logdateformat": "Y-m-d H:i:s",
> "logtimezone": "UTC",
> "log.condition": {
> "apps": \[
> "admin\_audit"
> \]
> },
> "log\_type\_audit": "syslog",
> "syslog\_tag\_audit": "nextcloud",
> "logfile\_audit": "",
> "memcache.local": "\\\\OC\\\\Memcache\\\\APCu",
> "memcache.distributed": "\\\\OC\\\\Memcache\\\\Memcached",
> "memcache.locking": "\\\\OC\\\\Memcache\\\\Memcached",
> "memcached\_servers": \[
> \[
> "\\/run\\/nextcloud\\/memcached.sock",
> 0
> \]
> \],
> "mail\_from\_address": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpmode": "smtp",
> "maintenance": false,
> "knowledgebaseenabled": false,
> "enable\_previews": true,
> "allow\_user\_to\_change\_display\_name": false,
> "mail\_domain": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpauthtype": "LOGIN",
> "mail\_smtpsecure": "ssl",
> "mail\_smtpauth": 1,
> "trashbin\_retention\_obligation": "14, 60",
> "mail\_send\_plaintext\_only": true,
> "theme": "",
> "passwordsalt": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "has\_internet\_connection": false
> }
> }
> \`\`\`
> 
> \### List of activated Apps
> 
> \`\`\`shell
> Enabled:
> - activity: 4.0.0
> - admin\_audit: 1.21.0
> - app\_api: 5.0.2
> - calendar: 5.2.4
> - circles: 31.0.0
> - cloud\_federation\_api: 1.14.0
> - comments: 1.21.0
> - contactsinteraction: 1.12.0
> - dav: 1.33.0
> - federatedfilesharing: 1.21.0
> - files: 2.3.1
> - files\_accesscontrol: 2.0.0
> - files\_automatedtagging: 2.0.0
> - files\_downloadlimit: 4.0.0
> - files\_reminders: 1.4.0
> - files\_retention: 2.0.1
> - files\_sharing: 1.23.1
> - files\_trashbin: 1.21.0
> - files\_versions: 1.24.0
> - logreader: 4.0.0
> - lookup\_server\_connector: 1.19.0
> - notifications: 4.0.0
> - oauth2: 1.19.1
> - privacy: 3.0.0
> - profile: 1.0.0
> - provisioning\_api: 1.21.0
> - related\_resources: 2.0.0
> - richdocuments: 8.6.5
> - serverinfo: 3.0.0
> - settings: 1.14.0
> - systemtags: 1.21.1
> - tasks: 0.16.1
> - text: 5.0.0
> - theming: 2.6.1
> - twofactor\_backupcodes: 1.20.0
> - user\_saml: 6.6.0
> - viewer: 4.0.0
> - webhook\_listeners: 1.2.0
> - workflowengine: 2.13.0
> Disabled:
> - bruteforcesettings: 4.0.0 (installed 1.0.3)
> - dashboard: 7.11.0 (installed 7.0.0)
> - encryption: 2.19.0
> - federation: 1.21.0 (installed 1.2.0)
> - files\_external: 1.23.0
> - files\_pdfviewer: 4.0.0 (installed 2.10.0)
> - nextcloud\_announcements: 3.0.0 (installed 1.1)
> - password\_policy: 3.0.0 (installed 1.3.0)
> - photos: 4.0.0-dev.1 (installed 1.0.0)
> - recommendations: 4.0.0 (installed 0.8.0)
> - support: 3.0.0 (installed 1.1.0)
> - suspicious\_login: 9.0.1
> - twofactor\_nextcloud\_notification: 5.0.0
> - twofactor\_totp: 13.0.0-dev.0
> - updatenotification: 1.21.0 (installed 1.2.0)
> - user\_ldap: 1.22.0
> - user\_status: 1.11.0 (installed 1.8.1)
> - weather\_status: 1.11.0 (installed 1.7.0)
> \`\`\`
> 
> \### Nextcloud Signing status
> 
> \`\`\`shell
> No errors have been found.
> \`\`\`
> 
> \### Nextcloud Logs
> 
> \`\`\`json
> {"reqId":"redacted","level":2,"time":"2025-05-20 13:35:35","remoteAddr":"2a01::redacted","user":"redacted","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/redacted/path/","message":"Request used more than 300 MB of RAM: 304.1 MB","userAgent":"python-requests/2.25.1","version":"31.0.5.1","data":{"app":"core"}}
> \`\`\`
> 
> \### Additional info
> 
> @juliusknorr What information do I need to provide to make something useful out of this?
> 
> Given zero Google hits for the warning seems to imply I did hit some less than ideal code path. I just don't see how that listing could possibly be \*that\* expensive? Maybe something about share permissions..?

---

<div class="post-metadata">

**Author:** ![Arthur-sib](https://help.nextcloud.com/letter_avatar/arthur-sib/32/5_5575768a8748004e209b776fc1b2916d.png) [@Arthur-sib](https://help.nextcloud.com/u/Arthur-sib)\
**Post date:** [November 5, 2025, 10:50am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/7 "2025-11-05T10:50:51Z")

</div>

After applying command `sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices`, error `Request used more than 300MB of RAM: 413.2 MB` ~~stopped appearing in the log.~~  
Is there a connection between the two?

 ![screenshot](https://help.nextcloud.com/uploads/default/original/3X/8/8/888180527eb3417b8829ae29f50ae8e15a6fbb63.png)

Update: this error still appears in the logs.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [November 9, 2025, 9:59am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/8 "2025-11-09T09:59:21Z")

</div>

> [@Arthur-sib](#):
>
> Is there a connection between the two?

Hard to say. It seems to be a global usage, it might be some app or something taking more. In the github topic, you find a few hints that the recognize app makes it more likely.

Best is to follow the github to see what the intended purpose of this log entry was, if it is really pointing to a potential error.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [November 17, 2025, 9:59am UTC](https://help.nextcloud.com/t/after-upgrade-to-31-0-6-fatal-request-used-more-than-300mb-of-ram-530-8mb/227602/9 "2025-11-17T09:59:58Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
