Memory usage increases over time while navigating the interface, and seems to be related to thumbnails and artworks. Each time a thumbnail is displayed, the usage increases, but does not increase more when displaying the same thumbnail multiple times.
One reliable way of reproducing the issue:
- Open the library Songs page
- Scroll slowly, so thumbnails have enough time to load without being cancelled
- Observe the Mellow memory usage increasing
When scrolling through the library songs page, the thumbnails displayed in the UI do get unloaded (a grey square can briefly be seen when scrolling to the same item again), so there must be another reference somewhere that is keeping it in memory (GtkTexture is reference-counted).
Starting a queue with all songs in it and toggling shuffle (after most thumbnails have been loaded at least once) makes the memory usage go down slightly (in my case by about 200 MB), but doesn't decrease more if I keep toggling shuffle.
Removing library directories from settings does not decrease the memory usage.
Memory usage increases over time while navigating the interface, and seems to be related to thumbnails and artworks. Each time a thumbnail is displayed, the usage increases, but does not increase more when displaying the same thumbnail multiple times.
One reliable way of reproducing the issue:
When scrolling through the library songs page, the thumbnails displayed in the UI do get unloaded (a grey square can briefly be seen when scrolling to the same item again), so there must be another reference somewhere that is keeping it in memory (
GtkTextureis reference-counted).Starting a queue with all songs in it and toggling shuffle (after most thumbnails have been loaded at least once) makes the memory usage go down slightly (in my case by about 200 MB), but doesn't decrease more if I keep toggling shuffle.
Removing library directories from settings does not decrease the memory usage.