Skip to content

[Bug]: Severe memory leak on Windows (v33.0.0) – Commit size grows up to 35GB causing system instability #9711

Description

@wiperelite-reps

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I have identified a critical issue in Nextcloud Desktop v33.0.0 on Windows.

The nextcloud.exe process shows uncontrolled growth in committed memory (pagefile / virtual memory). It starts at a normal usage (~200–300 MB), but continuously increases over time until reaching extremely high values (up to ~35 GB or close to total system memory limits).

This behavior eventually leads to:

System instability
Memory exhaustion warnings in other applications (e.g., SOLIDWORKS)
Potential application crashes

Environment:

OS: Windows (multiple machines tested)
Nextcloud Desktop version: 33.0.0
Hardware: reproducible across different systems, but also reported by clients

Steps to reproduce

Install Nextcloud Desktop v33.0.0
Start synchronization normally
Monitor memory usage (Commit Size / Virtual Memory)
Observe continuous increase over time (no release of memory)

Expected behavior

Expected behavior:

Memory usage should remain stable (as in previous versions ~200–300 MB average)

Actual behavior:

Memory (commit size) grows indefinitely
Can reach tens of GB (30–35 GB+)
Does not get released even when idle

Image Image

Image

Impact:
This issue has been reported by multiple clients after updating to v33.0.0.
I have also reproduced it consistently in lab test environment.

Temporary workaround:
Downgrading to version 4.0.7 resolves the issue completely:

Memory usage remains stable (~227 MB average)
System stability is restored

Image

Which files are affected by this bug

System stability

Operating system

Windows

Which version of the operating system you are running.

Windows 11

Package

Official Windows MSI

Nextcloud Server version

Truenas App Installed Version: 33.0.0 Version: 2.3.11

Nextcloud Desktop Client version

33.0.0

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

The issue appears to be a memory leak related to synchronization or background processes
The problem affects system-wide memory availability due to excessive commit usage
Same result on server with encryption enabled or disabled

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions