Taiko2k/Tauon

very high ram usage (8+gb)

Lucas-V-L opened this issue · 6 comments

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

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

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?

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

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?