[GH-ISSUE #323] Lags after long runtime #134

Closed
opened 2026-02-28 14:47:17 +03:00 by kerem · 5 comments
Owner

Originally created by @Bios-Marcel on GitHub (Mar 5, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/323

After having the application open for a while, without doing anything, everything gets laggy. Even down to the keyinputs. I am not sure what is happening here and i don't know how to debug it. The CPU usage barely hits 5% and the memory usage is rather low too. 20MB actually used with 360MB~ VIRT memory. There doesn't seem to be network traffic either. So I really don't know. It doesn't show what song is playing though. So, maybe there is no connection and that's why it's having troubles?

Is there anything simple I can do further investigate this?

Originally created by @Bios-Marcel on GitHub (Mar 5, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/323 After having the application open for a while, without doing anything, everything gets laggy. Even down to the keyinputs. I am not sure what is happening here and i don't know how to debug it. The CPU usage barely hits 5% and the memory usage is rather low too. 20MB actually used with 360MB~ VIRT memory. There doesn't seem to be network traffic either. So I really don't know. It doesn't show what song is playing though. So, maybe there is no connection and that's why it's having troubles? Is there anything simple I can do further investigate this?
kerem closed this issue 2026-02-28 14:47:17 +03:00
Author
Owner

@Rigellute commented on GitHub (Mar 5, 2020):

My guess is that the machine's internet changed whilst spotify-tui was running and this blocked the UI thread from running.

I am working on this exact issue in #322 - I still need to check the behaviour of leaving the app open for a while letting the computer sleep/losing internet connection.

<!-- gh-comment-id:595263115 --> @Rigellute commented on GitHub (Mar 5, 2020): My guess is that the machine's internet changed whilst `spotify-tui` was running and this blocked the UI thread from running. I am working on this exact issue in #322 - I still need to check the behaviour of leaving the app open for a while letting the computer sleep/losing internet connection.
Author
Owner

@Bios-Marcel commented on GitHub (Mar 5, 2020):

Wdym "the internet" changed? I haven't enabled sleep or hibernation. All it does is lock the windows account. And networks don't change, we only got one. Or do you mean that windows maybe does some partial powernapping for only the network card? Other applications seem to handle it well, even the one that I am working on, for which i didn't fix this behaviour on sleep / hibernate and I know the problem exists there.

<!-- gh-comment-id:595275415 --> @Bios-Marcel commented on GitHub (Mar 5, 2020): Wdym "the internet" changed? I haven't enabled sleep or hibernation. All it does is lock the windows account. And networks don't change, we only got one. Or do you mean that windows maybe does some partial powernapping for only the network card? Other applications seem to handle it well, even the one that I am working on, for which i didn't fix this behaviour on sleep / hibernate and I know the problem exists there.
Author
Owner

@Rigellute commented on GitHub (Mar 5, 2020):

From the #322 PR I let it run for 3 hours and it doesn't get stuck/lag.

<!-- gh-comment-id:595372539 --> @Rigellute commented on GitHub (Mar 5, 2020): From the #322 PR I let it run for 3 hours and it doesn't get stuck/lag.
Author
Owner

@Rigellute commented on GitHub (Mar 12, 2020):

Should be fixed in 0.16.0

<!-- gh-comment-id:598122493 --> @Rigellute commented on GitHub (Mar 12, 2020): Should be fixed in 0.16.0
Author
Owner

@Bios-Marcel commented on GitHub (Mar 12, 2020):

Nice, glad to hear that. Thanks :)

<!-- gh-comment-id:598228261 --> @Bios-Marcel commented on GitHub (Mar 12, 2020): Nice, glad to hear that. Thanks :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#134
No description provided.