squentin / gmusicbrowser

jukebox for large collections of music
http://gmusicbrowser.org
GNU General Public License v3.0
194 stars 42 forks source link

Really bad memory leak on Mint 21 #254

Open shimatako opened 6 months ago

shimatako commented 6 months ago

Memory usage seems to grow, more or less, by around 5gb/day on my system. Sometimes (much) more, sometimes less, I havent found the cause yet. I did not have this issue with the old version on my Mint 19 system. I've tried both the flatpak port and the beta .deb, both have the issue. I am constrantly having to kill it once a day so I don't get OOM. And this is with 32gb of memory. Hope this can be fixed bc this is the only good music system I have found for linux. If there is any info I can supply that might help let me know.

squentin commented 6 months ago

Sorry for not replying sooner. I've been aware of some memory leaks for some time now, but I've had trouble finding the source, there are probably multiple sources. I did some tests last week and finally noticed that it's actually simply moving over some widgets and not some more visible actions as I was suspecting.

I currently suspect the SongList widget could be the main source of the leak, which is not recommended anyway with gtk3 as it is slower, I recommend using the SongTree widget instead.