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

very high ram usage (8+gb) #1128

Open
Lucas-V-L opened this issue Apr 14, 2024 · 4 comments
Open

very high ram usage (8+gb) #1128

Lucas-V-L opened this issue Apr 14, 2024 · 4 comments

Comments

@Lucas-V-L
Copy link

I am using the Flatpak version of Tauon on Gentoo Linux - version 7.7.2. I have a music library of about 2,500 OPUS files, with embedded album covers+unsynced lyrics, and .lrc files.

When running, Tauon uses about 8.2gb of ram. this matches pretty closely to the size of my music library, so my suspicion is that it is loading all my music into ram. Attached below is a screenshot of btop displaying the RAM usage.
image

@Taiko2k
Copy link
Owner

Taiko2k commented Apr 14, 2024

Is this just immediately after initial scan or does it persist over app restart?

@Lucas-V-L
Copy link
Author

Is this just immediately after initial scan or does it persist over app restart?

it persists across restarts, it seems to fluctuate sometimes though. right now its at 5.6gb. When the app is started, and the splash screen shows, it climbs from an initial ~100mb to about 5-8gb, and then stops climbing and shows the interface. from there it sometimes slowly changes. playing, pausing, shuffling, etc. does not seem to affect it perceptibly.

what is the normal ram usage for a library of about this size?

@stkw0
Copy link
Contributor

stkw0 commented May 2, 2024

I have a music collection of 14576 songs (+200GB) and for me tauon doesn't consume more than 400MB. I'm also running Gentoo but I don't use the flatpak version.

I don't know if the settings can affect on that. I see that tauon spawn ffmpeg process to decode files, maybe you can check the process tree to see if there are a lot of ffmpeg eating up the RAM, and maybe also /proc/PID/status

@Taiko2k
Copy link
Owner

Taiko2k commented May 2, 2024

I tried testing with some OPUS files but didnt notice a memory leak with those that I tried. If the issue is still present, what is the filesize of the state.p file at /home/<user>/.var/app/com.github.taiko2k.tauonmb/data/TauonMusicBox?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants