Nextcloud Web Page made explorer to consume all RAM of personal computer

I am facing a problem with my selfhosted nextcloud instance. All is working fine but for some reason once a enter to the web page of my nextcloud the RAM consumption immediately starts to spike until its ran out of memory and then the page close ir self with “Out of memory“ message.

Does anyone knows what may be?

I’m ussing Nextcloud Hub 10 (31.0.9)

Hey @Jairo_Morales welcome to the Nextcloud community :waving_hand:

You posted a topic in the support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.

Without additional information the community members cannot help you.

  • without knowing what resources your client has, its all a guessing game
  • same goes for the server

Thanks for you recomendations here is the template

The Basics

  • Nextcloud Server version (e.g., 29.x.x): 31.0.9

  • Operating system and version (e.g., Ubuntu 24.04): Ubuntu 22.04.5 LTS

  • Web server and version (e.g, Apache 2.4.25): Apache 2.4+ (Ubuntu)

  • Reverse proxy and version _(e.g. nginx 1.27.2): No installed

  • PHP version (e.g, 8.3): 8.4+

  • Is this the first time you’ve seen this error? (Yes / No): No

  • When did this problem seem to first start? Don’t know

  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.): VM Bare Metal

  • Are you using Cloudflare, mod_security, or similar? (Yes / No): No (Cloudflare used only for DNS and access control, not as reverse proxy)

Summary of the issue you are facing:

I am facing a problem with my selfhosted nextcloud instance. All is working fine but for some reason once a enter to the web page of my nextcloud the RAM consumption immediately starts to spike until its ran out of memory and then the page close ir self with “Out of memory“ message.

Steps to replicate it (hint: details matter!):

  1. Open web Browser and ente to administration setting page.

  2. Look for task manager and see how de RAM goes up until the page self closes displayin ERROR Out_of_memory

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Theres no errors on the log.

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

Accessibility

IDs of active elements must be unique: Document has active elements with the same id attribute: firstrunwizard_about

Compatibility

'-ms-filter' is not supported by Chrome. Add 'filter' to support Chrome 53+.

'position: -webkit-sticky' is not supported by Chrome, Edge. Add 'position: sticky' to support Chrome 56+, Edge 16+.

The 'viewport' meta element 'content' attribute value should not contain 'minimum-scale'.

'content-type' header charset value should be 'utf-8'.

'content-type' header media type value should be 'application/javascript', not 'text/javascript'.

'text-wrap-style' is not supported by Chrome, Edge,

Performance

A 'cache-control' header contains directives which are not recommended: 'must-revalidate'

A 'cache-control' header contains directives which are not recommended: 'must-revalidate', 'no-store'

Resource should use cache busting but URL does not match configured patterns.

Response should not include unneeded headers: content-security-policy, feature-policy, x-xss-protection

Response should not include unneeded headers: feature-policy, x-xss-protection

Response should not include unneeded headers: x-xss-protection

'background-position' changes to this property will trigger: 'Paint', which can impact performance when used inside @keyframes.

'transform' changes to this property will trigger: 'Paint', which can impact performance when used inside @keyframes.

Static resources should use a 'cache-control' header with 'max-age=31536000' or more.

Static resources should use a 'cache-control' header with the 'immutable' directive.

PWA

Web app manifest should have the filename extension 'webmanifest'.

Security

Response should include 'x-content-type-options' header.

The 'Expires' header should not be used, 'Cache-Control' should be preferred.

The 'server' header should only contain the server name.

The 'X-Frame-Options' header should not be used. A similar effect, with more consistent support and stronger checks, can be achieved with the 'Content-Security-Policy' header and 'frame-ancestors' directive.

Other

'backdrop-filter' should be listed after '-webkit-backdrop-filter'.

CSS inline styles should not be used, move styles to an external CSS file

Deprecated feature used

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

[Wed Sep 17 07:52:30.842612 2025] [access_compat:error] [pid 5768] [client 127.0.0.1:36638] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:30.936075 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:31.026665 2025] [access_compat:error] [pid 8444] [client 127.0.0.1:36642] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:31.639312 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:31.876129 2025] [access_compat:error] [pid 5754] [client 127.0.0.1:39996] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:31.957667 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:32.043796 2025] [access_compat:error] [pid 5882] [client XXX.XXX.XXX.XXX:36696] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:32.137778 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:32.218115 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata
[Wed Sep 17 07:52:32.296873 2025] [access_compat:error] [pid 5752] [client XXX.XXX.XXX.XXX:38854] AH01797: client denied by server configuration: /ruta/a/nextcloud/data/.ncdata

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.9.1",
        "overwriteprotocol": "https",
        "overwritehost": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "maintenance_window_start": 1,
        "maintenance": false,
        "richdocumentscode_proxy_url": "http:\/\/127.0.0.1",
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "app_install_overwrite": [],
        "loglevel": 2,
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/rute\/b\/exiftool",
        "memories.vod.path": "\/ruta\/a\/nextcloud-server\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/rute\/b\/ffmpeg",
        "memories.vod.ffprobe": "\/rute\/b\/ffprobe",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF"
        ],
        "memories.gis_type": 1,
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "theme": "",
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_filesize_image": 30
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.5.4
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.3.1
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - drawio: 3.1.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - geoblocker: 0.5.17
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.3
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0
  - previewgenerator: 5.10.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recognize: 9.0.7
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - support: 3.0.0
  - survey_client: 3.0.0
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - encryption: 2.19.0
  - memories: 7.6.2 (installed 7.6.2)
  - richdocuments: 8.7.4 (installed 8.7.4)
  - user_ldap: 1.22.0

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.

  • If screenshots are useful, feel free to include them.

    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

1 Like

Two additional questions:

  • How much memory does your Ubuntu system have?
  • What is the size of the swap partition?

Do I understand it right?

The memory your workplace computer runs out of memory, if you login from your computer into Nextcloud on the server? - In the browser, desktop-app or how?

  • The ubuntu system have 8GB of ram.
  • Swap says is 0bytes of 2.0GB

The nextcloud servers is installed in a virtual machine inside a proxmox server computer.

TThe problem is that, as a user, I log in to the Nextcloud website from my personal laptop, and normally, when I am on the administration settings page, my laptop’s RAM starts to be consumed (consumption skyrockets or increases) until there is no more memory available, at which point the page closes on its own and displays an OUT_OF_MEMORY error message. This happens in a matter of 20 or 30 seconds.

That is strange. - Did you try annother browser? Please Note: Edge and Google Chome use the same engine, Firefox a different one.

I just tried with another browser (Firefox) and it didn´t consume any ram of my laptop, everything worked fine.

1 Like

And which browser exactly created the issue?

Maybe it might be reported as possible bug at github, it is still a recent browser.

The issue happens with Microsoft Edge. I just tried with Google Chrome and nothing happened; the RAM stayed stable.

1 Like

So, I will guess that the problem is an issue with Microsoft Edge? is that normal? that something like that happens only with one browser?

Just to be sure, as it wasn’t mentioned anywhere in the thread: have you tried clearing your browser cache?

Also, if you have any browser extensions installed, try disabling them one by one to see if one of them might be causing the problem.

I Just clear cache and now works perfectly!. Thanks a lot

2 Likes

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