GNOME Bugzilla – Bug 586052
Memory leak
Last modified: 2020-03-17 08:27:52 UTC
I've had Banshee (git master) open for quite a while (38 hours, it looks like) and I just noticed how much memory it's using: 1.6GB Virt, 700M Res (18M shared, 177K X) I noticed the memory usage increasing by a meg at a time while I was playing a podcast. Now that it's stopped, it is no longer increasing. The episode I was playing was downloaded. The log has lots of RSS parsing errors, perhaps something there isn't being disposed of properly: [Warn 15:46:01.298] Caught error parsing RSS enclosure - Input string was not in the correct format (in `mscorlib') at System.Int32.Parse (System.String s) [0x00000] at Migo.Syndication.RssParser.GetITunesDuration (System.String duration) [0x00000] <snip> at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000] Also seeing [Warn 15:55:33.966] Caught an exception - a name did not start with a legal character <snip> at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000] and [Warn 15:55:33.982] Caught an exception - Invalid XML document. (in `Migo') at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000] Doing a kill -s QUIT the #, type, and state of the threads look normal.
Created attachment 136774 [details] sorted lsof -p output
Actually Banshee had been running since last Friday, so almost exactly 4 full days.
As you can tell from the traces above, banshee-1 wasn't started in --debug mode either.
Created attachment 136775 [details] screenshot of system monitor's mmaps dialog for banshee You can see the problem is in the heap, it's enormous.
Playing a song from my library now, it's increasing by up to 2 MB every second or two again.
This is possibly a dupe of bug #555365 - it was increasing *while* playing, not just skipping, so I opened it separately.
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.