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

Hight memory usage on macOS after a sync #1016

Open
igorkulman opened this issue Jan 24, 2024 · 1 comment
Open

Hight memory usage on macOS after a sync #1016

igorkulman opened this issue Jan 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@igorkulman
Copy link

Describe the bug
When I start Maestral and no Dropbox files change so nothing needs to be synced the memory usage sits at around 100 MB. Bug after I change some files and sync happens the memory usage skyrockets to more than 1 GB and never goes down, I need to kill the app and start it again.

To Reproduce

  • open Maestral on macOS
  • sync some files
  • look at the memory usage

Expected behaviour
Even if memory usage spikes up when doing sync it should come back down eventually

System:

  • Maestral version: 1.8.0
  • Python version: 3.9.6
  • OS: macOS 14.2.1 (23C71)

Additional context

"Idle"
Screenshot 2024-01-24 at 16 21 08

"After sync"
Screenshot 2024-01-24 at 16 19 44

@igorkulman igorkulman added the bug Something isn't working label Jan 24, 2024
@samschott
Copy link
Owner

That is indeed not working as intended. Maestral is typically very diligent in loading only small parts of files into memory as they are synced, at memory should be freed after each sync cycle.

Are there any particular patterns that you have noticed when this is happening, e.g., with particularly large files or with a large number of changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants