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 on Windows #886

Open
viktorix opened this issue Nov 13, 2024 · 2 comments
Open

High memory usage on Windows #886

viktorix opened this issue Nov 13, 2024 · 2 comments

Comments

@viktorix
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install Windows client.
  2. Open it and leave it.
  3. Check task manager for memory usage.

Expected behaviour

Memory usage shouldn't be this high when compared to Brave that has 10 tabs open and Thunderbird. Ideally, when no calls happening, it should be kept closer to 500mb. It's not an exact number, just a recommendation based on other Electron apps I've seen.

Image

Actual behaviour

Having client open, without any calls, memory usage is over 1000MB.

Desktop client

Talk Desktop client version: 1.0.0-rc.1

Operating system: Windows

Operating system version: Windows_NT 10.0.22631 (Windows 11 Home)

Microphone available: yes

Camera available: yes

Server

This client connects to c.nc.c server.

Notes

I know it's difficult to manage memory usage in Electron apps. So one consideration can be to introduce hibernation mode and setting, like many Electron apps do. User sets a specific time of inactivity, let's say 15 min, and if Talk isn't used in 15 min it hibernates to reduce memory usage. User needs to click a button to reload it (ex: Rambox).

@viktorix viktorix added 0. Needs triage bug Something isn't working labels Nov 13, 2024
@ShGKme
Copy link
Contributor

ShGKme commented Nov 13, 2024

I know it's difficult to manage memory usage in Electron apps. So one consideration can be to introduce hibernation mode and setting, like many Electron apps do. User sets a specific time of inactivity, let's say 15 min, and if Talk isn't used in 15 min it hibernates to reduce memory usage. User needs to click a button to reload it (ex: Rambox).

I don't think this is Electron itself. RAM usage increases on opening huge chats and decreases after some time. Usually it is about 250-450 MB depending on the system.

@ShGKme
Copy link
Contributor

ShGKme commented Nov 15, 2024

Can confirm the issue

@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💬 Talk team Nov 15, 2024
@ShGKme ShGKme moved this from 🧭 Planning evaluation (don't pick) to 🆕 New to evalutate in 💬 Talk team Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New to evalutate
Development

No branches or pull requests

3 participants