-
Notifications
You must be signed in to change notification settings - Fork 129
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
Abnormal CPU usage & extreme lag after being left open for a few hours #29
Comments
Could you check if the issue persists with "Save deleted messages" disabled? |
@ZavaruKitsu after disable "Save deleted messages" cpu usage become normal |
90% that it is a memory leak |
Is there any chance this will be fixed in the future? It's sad that we have to disable such a cool feature to make the problem go away :( |
I can't reproduce the issue, so I may only try to blindly fix it. My current guess is a timer for expiring TTL messages, which will be fixed in the next release. If someone captures the stack trace of the thread consuming CPU (requires manually building a Debug version), it would be helpful. |
I'll try to reproduce on NixOS |
Maybe Win 11 24H2 specific issue? |
I have this issue on debian 12 on 2 devices, build on efa4c2c |
The same issue occurs on Mac silicon devices, with one core reaching 100% usage after one night. |
Steps to reproduce
Thank you for the app! AyuGram is amazing, but this bug is very frustrating. I do manage to temporarily solve this issue by nuking the app process and launching it again.
Expected behaviour
Normal CPU usage, shouldn't be pinning cores. The laptop's performance should be plentiful to handle telegram!
Actual behaviour
Some of the CPU cores are pegged by the process (whole CPU utilization up to 30%)
![](https://camo.githubusercontent.com/eb875165faeb33affb889beb6f10af5f57311a6c2c51b7658a175ed935b9ef16/68747470733a2f2f692e696d6775722e636f6d2f475635777668412e6a706567)
The app's interface becomes extremely laggy to the point where there is seconds of delay between each character typed.
Operating system
Windows 11 24H2
Version of Telegram Desktop
5.10.3
Installation source
Static binary from official website
Crash ID
No response
Logs
The text was updated successfully, but these errors were encountered: