nextcloud / nextcloud/desktop

[Bug]: Memory Leak on Linux with 3.13 client version

Open
#6,711 35 comments 9 reactions 1 assignee Claimed by @camilasan View on GitHub
0. Needs triage bug os: :penguin: Linux Performance 🚀
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 21h
Merged PRs (30d)
127

Description

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

- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

Memory usage of the nextcloud-client application slowly creeps up in RAM usage until the system goes oom; Had my PC running and going for a walk, came back to it using 59GB of RAM (i have 64GB) and the system becoming completely unresponsive.

### Steps to reproduce

1. Open and use the newest Nextcloud-Client for Linux (either from the arch extra repo or the git version from AUR / Chaotic-AUR
2. Observe it using as much RAM as it can get.

### Expected behavior

It not using all the RAM

### Which files are affected by this bug

No File but the basic application itself

### Operating system

Linux

### Which version of the operating system you are running.

Garuda Linux - 6.8.7-zen1-2-zen Kernel

### Package

Distro package manager

### Nextcloud Server version

28.0.4

### Nextcloud Desktop Client version

3.13.0.r268.gaa175036e9-1 // 3.13

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

Updated from a minor version (ex. 3.4.2 to 3.4.4)

### Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

### Are you using an external user-backend?

- [X] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

_No response_

### Additional info

Downgrading to 3.12 stops the memory leak

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.