digimezzo / dopamine

The audio player that keeps it simple
https://digimezzo.github.io/site/
GNU General Public License v3.0
1.39k stars 108 forks source link

Huge memory leak upon collection refresh #610

Closed gabrielgiddings closed 2 months ago

gabrielgiddings commented 2 months ago

Whenever I refresh my collection it takes hours upon hours and RAM usage goes up to 13+ Gb and maxes out my systems capacity.

I have a large 200+ Gb library across 2 hard drives, recently whenever I refresh my library to add more music it will take hours to complete (if it completes at all) and my systems memory usage will go up to 97%+ and dopamine's memory usage will be be extremely high, peaking at up to 13 gigabytes. Dopamine will have normal disk usage for a collection refresh, so presumably it is doing something correctly. I recently let it try to refresh my collection overnight for 12+ hours and it still was not able to do it. This issue started for me recently on dopamine 1.5.14, and I thought maybe updating my version might fix it but it is also present in 2.0.9. This issue happens when I exclude one of the drives and only refresh the collection on the other drive.

I have no idea what's causing this but is doesn't happen in other music apps like AIMP or Musicbee. I greatly prefer dopamine to these other apps but if I don't find a solution to this issue I may have to use one of these other apps. Really hoping someone can help me out here. Please let me know if you need any other information to support me.

image