You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
I have searched the documentation for information that matches the description of the bug I want to file, without success.
This issue contains only one bug.
Describe the bug
Open freetube
Use middle click to open a few windows
After a while, while sometimes doing nothing, CPU/memory usage just explodes, machine tries to compete with room radiator and fans channel their inner helicopter.
Example:
three freetube windows open, no playback, memory consumption almost jumped to 6.5GB before I could kill the process
Issue happens in both Windows(install) and Linux(flathub and AUR).
Expected Behavior
Random high CPU and memory usage ballooning for just 3 windows and no playback?
Seems rather extreme (even for an electron app).
Issue Labels
inconsistent behavior
FreeTube Version
v0.22.1
Operating System Version
Windows 10 Enterprise 22H2 19045.5247, Arch Linux kernel 6.6.70-1-lts
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
I have encountered this bug in the latest nightly build.
The text was updated successfully, but these errors were encountered:
Could you please clarify the reproduction steps, currently they are a bit vague.
"Use middle click to open a few windows": What are you middle clicking on?
"After a while, sometimes doing nothing: How long? Did you do anything else after opening the windows or did you just wait for it to happen, if you did anything what exactly did you do?
Do you have a lot of user data e.g. subscriptions, watch history and playlists?
Can you reproduce the issue on the latest nightly build on Windows (the flatpak version doesn't have nightlies)?
"Use middle click to open a few windows": What are you middle clicking on?
I'm middle clicking on the videos either the image or the video name, generally from the subscriptions page.
Sometimes I middle-click on the subscriptions link to check if there's anything new, then middle click on anything interesting.
"After a while, sometimes doing nothing: How long?
Unsure, I open freetube pretty much right away once I log in, and I notice the memory issues once the computer begins to crawl and beg for mercy.
I'll try to get better data on this (current freetube process started around 2025-01-16 17:30 UTC, memory usage is ~1400MB with 4 videos open alongside the subscription page, CPU usage ~5% without any playback or loading).
Did you do anything else after opening the windows or did you just wait for it to happen, if you did anything what exactly did you do?
Pretty much just watch the videos, through some times I open them and leave them hanging without playback for some time.
Do you have a lot of user data e.g. subscriptions, watch history and playlists?
The "All channels" profile has 521 channels, there's 9 subchannels.
I have only one playlist named "Favorites" with 746 videos. history.db is 30MB in the windows machine and 14-18MB in the linux ones.
In all machines, both playlists.db and profiles.db in Appdata/roaming/freetube and .config/freetube are symlinks to files being synchronized by syncthing.
Can you reproduce the issue on the latest nightly build on Windows (the flatpak version doesn't have nightlies)?
On it, I'll report back one I get a reliable connection to the windows machine.
Guidelines
Describe the bug
Example:
three freetube windows open, no playback, memory consumption almost jumped to 6.5GB before I could kill the process
Issue happens in both Windows(install) and Linux(flathub and AUR).
Expected Behavior
Random high CPU and memory usage ballooning for just 3 windows and no playback?
Seems rather extreme (even for an electron app).
Issue Labels
inconsistent behavior
FreeTube Version
v0.22.1
Operating System Version
Windows 10 Enterprise 22H2 19045.5247, Arch Linux kernel 6.6.70-1-lts
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: