Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage with a large number of files #1299

Open
Wenzel opened this issue Nov 22, 2018 · 1 comment
Open

High memory usage with a large number of files #1299

Wenzel opened this issue Nov 22, 2018 · 1 comment

Comments

@Wenzel
Copy link

Wenzel commented Nov 22, 2018

Description

Cozy-desktop is using too much memory at initialization, and afterwards to watch the modifications on Linux if there are a lot of files in the tree

Steps to Reproduce

  1. set up a folder to watch with a large number of files
$ find Cozy  | wc -l
34663
  1. run cozy-desktop
  2. observe high memory usage at initialization

Expected behavior

I expected a small footprint

Actual behavior

the memory footprint is quite high:
screenshot_20181122_131005
(20% here on 7,5G, above Firefox)

Informations

  • reproductible: always
  • OS: fedora 29
  • version: 3.10.3
@sebn
Copy link
Contributor

sebn commented Dec 31, 2018

Hello @Wenzel, sorry for the late answer.

We're aware of the various resource usage issues.
We're currently working on a new local watcher implementation primarily targeted to Windows, but we should be able to use it on GNU/Linux soon after that.
The main purpose is to make the watcher more reliable on Windows, but it should eventually make resource usage lower too.
If the issue persist when the new watcher starts being used in stable releases, we'll definitely address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants